@Override
    public String getSortableSection(@NonNull final Geocache cache) {
        return Units.getDistanceFromKilometers(cache.getDistance());
    }
sorts caches by distance to given position
main/src/main/java/cgeo/geocaching/sorting/AbstractDistanceComparator.java