@Override
	public int compareTo(IndexedByteBlockInfo o) {
		int result = lineIndex.compareTo(o.lineIndex);
		if (result == 0) {
			result = getOffset().compareTo(o.getOffset());
		}
		if (result == 0) {
			return Integer.compare(getColumn(), o.getColumn());
		}
		return result;
	}
This is a ByteBlockInfo that also includes line index information. With the extra line index 
information, this object can be ordered and therefore, can implement {@link Comparable}
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/IndexedByteBlockInfo.java