@Override
		public int compare(LanguageDescription o1, LanguageDescription o2) {
			int res = o1.getProcessor().compareTo(o2.getProcessor());
			if (res != 0) {
				return res;
			}
			if (o1.getSize() != o2.getSize()) {
				return (o1.getSize() < o2.getSize()) ? -1 : 1;
			}
			if (o1.getInstructionEndian() != o2.getInstructionEndian()) {
				return o1.getInstructionEndian().isBigEndian() ? -1 : 1;
			}
			return 0;
		}
Comparator for deciding if a target language "matches" an architecture for a library
 We want processor family, endianness and "size" to match, but variant can be different
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidFile.java