String dequoteString() {
            var b = new StringBuilder();
            expectChar('"');
            while (valid() && peek() != '"') {
                var fragment = token();
                b.append(fragment);
                if (valid()) {
                    var c = peek();
                    if (c == '\\') {
                        step();
                        c = expectChars('\\', '"');
                        b.append(c);
                    } else if (c != '"') {
                        b.append(c);
                        step();
                    }
                }
            }
            expectChar('"');
            return b.toString();
        }
Decide if sortorder is ascending or not.
container-search/src/main/java/com/yahoo/search/query/Sorting.java