public String toSerialForm(boolean includeOrder) {
            var b = new StringBuilder();
            appendSerialForm(b, includeOrder);
            return b.toString();
        }
Returns the sorting order of this attribute
container-search/src/main/java/com/yahoo/search/query/Sorting.java