@Override
		public int compare(Object o1, Object o2) {
			if (o1 instanceof Long) {
				return -compare(o2, o1);
			}
			ElfRelocation rel = (ElfRelocation) o1;
			long relOffset = rel.getOffset();
			long offset = (Long) o2;
			if (relOffset == offset) {
				return 0;
			}
			return Long.compareUnsigned(relOffset, offset);
		}
<code>OffsetComparator</code> provides ability to compare a Long ElfSymbol offset value with an
ElfRelocation object's relocation offset.
Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java