@Override
    protected int compareCaches(final Geocache cache1, final Geocache cache2) {
        // if there is no vote available, put that cache at the end of the list
        return Float.compare(cache2.getMyVote(), cache1.getMyVote());
    }
sorts caches by the users own voting (if available at all)
main/src/main/java/cgeo/geocaching/sorting/VoteComparator.java