@Override
    protected int compareCaches(final Geocache cache1, final Geocache cache2) {
        return cache2.getFavoritePoints() - cache1.getFavoritePoints();
    }
sorts caches by popularity (favorite count)
main/src/main/java/cgeo/geocaching/sorting/PopularityComparator.java