public static <T> List<T> sortListLocaleAware(final List<T> listToSort, final Func1<T, String> sortStringAccessor) {
        Collections.sort(listToSort, CommonUtils.getNullHandlingComparator((e1, e2) -> COLLATOR.compare(sortStringAccessor.call(e1), sortStringAccessor.call(e2)), true));
        return listToSort;
    }
Internal cache for created Patterns (avoids parsing them unnecessarily often)
main/src/main/java/cgeo/geocaching/utils/TextUtils.java