private static List<ApplicationFile> listSortedFiles(ApplicationFile file, Path path, boolean recursive) {
        if (path.length() > 0 && ! path.hasTrailingSlash()) {
            return List.of(file);
        }
        List<ApplicationFile> files = file.listFiles(recursive);
        Collections.sort(files);
        return files;
    }
Requests for content and content status, both for prepared and active sessions,
are handled by this class.

@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java