protected Map<String, GistFile> sortFiles(final Gist gist) {
        Map<String, GistFile> files = gist.files();
        if (files == null || files.size() < 2) {
            return files;
        }

        Map<String, GistFile> sorted = new TreeMap<>(CASE_INSENSITIVE_ORDER);
        sorted.putAll(files);
        return sorted;
    }
Sort files in {@link Gist}

@param gist
@return sorted files
app/src/main/java/com/github/pockethub/android/core/gist/GistStore.java