@Override
		public int compare(Object o1, Object o2) {
			return toAddress(o1).compareTo(toAddress(o2));
		}
A special comparator that allows us to find a LocationReference from a given address.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/LocationDescriptor.java