public String getExeCategoryAlphabetic(String type) {
		final List<String> catrecs = getCategory(type);
		if ((catrecs == null) || (catrecs.size() == 0)) {
			return "";
		}
		if (catrecs.size() == 1) {
			return catrecs.get(0);
		}
		// If there are more than one categories they should already be sorted
		final StringBuffer buf = new StringBuffer();
		for (int i = 0; i < 4; ++i) { // Spell out 4 at most
			buf.append(catrecs.get(i));
			if (i + 1 >= catrecs.size()) {
				break;
			}
			if (i < 3) {
				buf.append(',');
			}
		}
		return buf.toString();
	}
Get all the category settings of a specific type in alphabetic order.
Multiple values are returned in a single String separated by ','
@param type is the type of category to retrieve
@return the concatenated list of settings
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/description/ExecutableRecord.java