@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}

		if (obj == null) {
			return false;
		}

		if (getClass() != obj.getClass()) {
			return false;
		}

		ColumnSortState other = (ColumnSortState) obj;
		if (columnModelIndex != other.columnModelIndex) {
			return false;
		}

		if (sortDirection == null) {
			if (other.sortDirection != null) {
				return false;
			}
		}
		else if (!sortDirection.equals(other.sortDirection)) {
			return false;
		}

		if (sortOrder_OneBased != other.sortOrder_OneBased) {
			return false;
		}
		return true;
	}
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