private boolean resortIfNeeded(ChangeEvent e) {
		if (e == null) {
			return false;
		}

		Object source = e.getSource();
		TableSortState tableSortState = getTableSortState();
		Iterator<ColumnSortState> iterator = tableSortState.iterator();
		for (; iterator.hasNext();) {
			ColumnSortState columnSortState = iterator.next();
			int columnIndex = columnSortState.getColumnModelIndex();
			DynamicTableColumn<?, ?, ?> column = tableColumns.get(columnIndex);
			if (column == source) {
				reSort();
				return true;
			}
		}
		return false;
	}
Callback when column settings have changed
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GDynamicColumnTableModel.java