public static ColumnSortState restoreFromXML(Element element) {
		String modelIndexValue = element.getAttributeValue(XML_COLUMN_MODEL_INDEX);
		int modelIndex = Integer.parseInt(modelIndexValue);

		String sortOrderValue = element.getAttributeValue(XML_SORT_ORDER);
		int sortOrder = Integer.parseInt(sortOrderValue);

		String sortDirectionValue = element.getAttributeValue(XML_SORT_DIRECTION);
		SortDirection sortDirection = SortDirection.getSortDirection(sortDirectionValue);

		return new ColumnSortState(modelIndex, sortDirection, sortOrder);
	}
Not meant to be created by users.  They should instead use the {@link TableSortStateEditor}.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/ColumnSortState.java