class SortParser {

    public static List<RequestSort> parseSort(Map<String, Object> rawSort) {
        List<RequestSort> unorderedSort = findSortFields(rawSort);
        List<RequestSort> orderedSort = applyOrder(unorderedSort, rawSort);

        LOG.info("Parsed sorts: {}", orderedSort);
        return orderedSort;
    }

    private  SortParser();

}