private void mapOrdinalsToColumns(int[] ordinals) {
			for (int i = 0; i < ordinals.length; i++) {
				List<ColumnSortState> sortStates = tableSortState.getAllSortStates();
				for (ColumnSortState ss : sortStates) {
					int columnOrdinal = ss.getSortOrder();
					if (columnOrdinal == ordinals[i]) {
						int sortColumnIndex = ss.getColumnModelIndex();
						columnsByOrdinal.put(ordinals[i], sortColumnIndex);
						break;
					}
				}
			}
		}
A painter that will emphasize each sorted column, except for the clicked column, over the 
course of an animation.  The painter is called with the current emphasis that is passed to
the column along with a repaint request.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableUtils.java