@Override
		public int compare(T t1, T t2) {
			int result = primaryComparator.compare(t1, t2);
			if (result != 0 || nextComparator == null) {
				return result;
			}

			result = nextComparator.compare(t1, t2);
			return result;
		}
A comparator that can be linked to other comparators to form a chain of comparators
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/AbstractSortedTableModel.java