private boolean isSortedByDistance() {
        return sortContext.getSort().getType() == GeocacheSort.SortType.DISTANCE;
    }
Apply a new filter to the adapter (e.g. after filter was changed by user in menu)
main/src/main/java/cgeo/geocaching/ui/CacheListAdapter.java