protected void sort(List<T> data, TableSortingContext<T> sortingContext) {

		if (sortingContext.isUnsorted()) {
			// this is the 'no sort' state
			sortCompleted(sortingContext);
			notifyModelSorted(false);
			return;
		}

		hasEverSorted = true; // signal that we have sorted at least one time
		Collections.sort(data, sortingContext.getComparator());
		sortCompleted(sortingContext);
		notifyModelSorted(false);
	}
A default sort method that uses the {@link Collections#sort(List, Comparator)} method for
sorting.  Implementors with reasonably sized data sets can rely on this method.  For data
sets that can become large, the <code>ThreadedTableModel</code> is the recommended base class,
as it handles loading/sorting/filtering in a threaded way.

@param data The data to be sorted
@param sortingContext The context required to sort (it contains the sorting columns, a
       comparator for sorting, etc...).
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/AbstractSortedTableModel.java