public void setType(final SortType type, final boolean isInverse) {
        this.type = type == null ? SortType.AUTO : type;
        this.isInverse = isInverse;
    }
Represents sort settings applyable to a group/list of geocaches
main/src/main/java/cgeo/geocaching/sorting/GeocacheSort.java