public static Ranking getFrom(Query q) {
        return (Ranking) q.properties().get(argumentTypeName);
    }
Sets sorting from a string. See {@link Sorting} on syntax
container-search/src/main/java/com/yahoo/search/query/Ranking.java