@Override
	int compareTo(DataBuffer buffer, int offset) throws IndexOutOfBoundsException {
		int result = indexedField.compareTo(buffer, offset);
		if (result != 0) {
			return result;
		}
		try {
			int indexedFieldLen = indexedField.readLength(buffer, offset);
			return primaryKey.compareTo(buffer, offset + indexedFieldLen);
		}
		catch (IOException e) {
			throw new AssertException(e); // DataBuffer does not throw IOException
		}
	}
Construct a new {@link IndexField} instance for the given indexValue and 
associated primary key.  These fields are verified against this instance to 
ensure that they are of the correct type.
@param indexValue column field value to be indexed
@param key primary key associated with indexValue
@return new IndexField instance
Ghidra/Framework/DB/src/main/java/db/IndexField.java