@Override
	public int compareTo(FieldLocation o) {
		int compareTo = index.compareTo(o.index);
		if (compareTo != 0) {
			return compareTo;
		}
		if (fieldNum < o.fieldNum) {
			return -1;
		}
		if (fieldNum > o.fieldNum) {
			return 1;
		}
		if (row < o.row) {
			return -1;
		}
		if (row > o.row) {
			return 1;
		}
		if (col < o.col) {
			return -1;
		}
		if (col > o.col) {
			return 1;
		}
		return 0;
	}
Returns the column within the Field for this location.
@return the column within the Field for this location.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldLocation.java