@Override
	protected Comparator<ROW_TYPE> createSortComparator(int columnIndex) {
		Comparator<Object> columnComparator = createSortComparatorForColumn(columnIndex);
		if (columnComparator != null) {
			// the given column has its own comparator; wrap and us that
			return new RowBasedColumnComparator<>(this, columnIndex, columnComparator);
		}

		return new RowBasedColumnComparator<>(this, columnIndex, new DefaultColumnComparator(),
			new ColumnRenderedValueBackupComparator<>(this, columnIndex));
	}
Allows clients to defer column creation until after this parent class's constructor has been
called. This method will not restore any column settings that have been changed after
construction. Thus, this method is intended only to be called during the construction
process.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GDynamicColumnTableModel.java