@Override
        public boolean equals(Object other) {
            if (!(other instanceof AttributeSorter sorter)) {
                return false;
            }
            return sorter.fieldName.equals(fieldName);
        }
Returns the serial form of this which contains all information needed to reconstruct this sorter
container-search/src/main/java/com/yahoo/search/query/Sorting.java