private boolean hasNewSort() {
		if (newSortContext == null) {
			return false;
		}

		// the new sort differs from the last one
		return !newSortContext.equals(lastSortContext);
	}
Returns true if the data needs to be sorted.
@return true if the data needs to be sorted.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java