@Override
	public int compareTo(TableRecord otherRecord) {
		long myKey = record.getKey();
		long otherKey = otherRecord.record.getKey();
		if (myKey == otherKey) {
			return 0;
		}
		else if (myKey < otherKey) {
			return -1;
		}
		return 1;
	}
Compares the key associated with this table record with the 
key of another table record (obj).
@see java.lang.Comparable#compareTo(java.lang.Object)
Ghidra/Framework/DB/src/main/java/db/TableRecord.java