@Override
        public GeocacheSort[] newArray(final int size) {
            return new GeocacheSort[size];
        }
Sets sort context depending on a list context.
main/src/main/java/cgeo/geocaching/sorting/GeocacheSort.java