private Comparator<T> getComparator(ColumnSortState columnSortState) {
		Comparator<T> comparator = createSortComparator(columnSortState.getColumnModelIndex());
		if (columnSortState.isAscending()) {
			return comparator;
		}
		return new ReverseComparator(comparator);
	}
Builds a comparator for the given column sort state while allowing for subclasses to
provider their own comparators.  This method also handles directionality of sorting, so
that the comparators used can be simple and generic.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/AbstractSortedTableModel.java