Element writeToXML() {
		Element sortStateElement = new Element(XML_COLUMN_SORT_STATE);
		sortStateElement.setAttribute(XML_COLUMN_MODEL_INDEX, Integer.toString(columnModelIndex));
		sortStateElement.setAttribute(XML_SORT_DIRECTION, sortDirection.toString());
		sortStateElement.setAttribute(XML_SORT_ORDER, Integer.toString(sortOrder_OneBased));
		return sortStateElement;
	}
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