public Element writeToXML() {
		Element element = new Element(XML_TABLE_SORT_STATE);
		for (ColumnSortState sortState : columnSortStates) {
			Element sortStateElement = sortState.writeToXML();
			element.addContent(sortStateElement);
		}
		return element;
	}
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