@Override
		public int compare(CategoryPath cp1, CategoryPath cp2) {

			String name1 = cp1.getName();
			String name2 = cp2.getName();

			int result = name1.compareToIgnoreCase(name2);
			if (result != 0) {
				return result;
			}

			result = name1.compareTo(name2);
			if (result != 0) {
				// let equivalent names be sorted by case ('-' for lower-case first)
				return -result;
			}

			// if the names are the same, then sort by full path
			String p1 = cp1.getPath();
			String p2 = cp2.getPath();
			return p1.compareToIgnoreCase(p2);
		}
Returns a list of the unique Category Paths ({@link CategoryPath}) as utilized by the 
data types open in the current tool.  

@return a list of the {@link CategoryPath} associated with the data types open in the 
current tool.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/archive/DataTypeIndexer.java