@Override
    protected int compareCaches(final Geocache cache1, final Geocache cache2) {
        return cache2.getInventoryItems() - cache1.getInventoryItems();
    }
sorts caches by number of items in inventory
main/src/main/java/cgeo/geocaching/sorting/InventoryComparator.java