private static List<String> gatherSearchPaths() {

		//
		// By default all classes are found on the standard classpath.  In the default mode, there
		// are no values associated with the GhidraClassLoader.CP_EXT property.  Alternatively, 
		// users can enable Extension classpath restriction.  In this mode, any Extension module's 
		// jar files will *not* be on the standard classpath, but instead will be on CP_EXT.
		//
		List<String> rawPaths = new ArrayList<>();
		rawPaths.addAll(GhidraClassLoader.getClasspath(GhidraClassLoader.CP));
		rawPaths.addAll(GhidraClassLoader.getClasspath(GhidraClassLoader.CP_EXT));
		return canonicalizePaths(rawPaths);
	}
Sorts the given {@link List} of {@link Class}es first by their defined priority, then by
their name.

@param list The {@link List} of {@link Class}es to sort. This {@link List} will be modified.
Ghidra/Framework/Generic/src/main/java/ghidra/util/classfinder/ClassSearcher.java