boolean skipSpaces() {
            while(valid() && spec.charAt(pos) == ' ') {
                ++pos;
            }
            return valid();
        }
Decide if sortorder is ascending or not.
container-search/src/main/java/com/yahoo/search/query/Sorting.java