public static TableSortState createDefaultSortState(int columnModelIndex, boolean isAscending) {
		SortDirection sortDirection =
			isAscending ? SortDirection.ASCENDING : SortDirection.DESCENDING;
		return new TableSortState(new ColumnSortState(columnModelIndex, sortDirection, 1));
	}
Creates a sort state with the given column as the sorted column in the given direction.

@param columnModelIndex The column to sort
@param isAscending True to sort ascending; false to sort descending
@return a sort state with the given column as the sorted column (sorted ascending).
@see TableSortStateEditor
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableSortState.java