public static SortType getByCGeoSortType(final GeocacheSort.SortType cgeoSortType) {
                return CGEO_TO_GC_SORTTYPE.get(cgeoSortType, SortType.DISTANCE);
            }
This class encapsulates, explains and mimics the search against gc.com WebApi at <a href="https://www.geocaching.com/api/proxy/web/search/v2">...</a>
main/src/main/java/cgeo/geocaching/connector/gc/GCWebAPI.java