class LayerEntriesSelector {

  @VisibleForTesting
  static List<LayerEntryTemplate> toSortedJsonTemplates(List<FileEntry> layerEntries)
      throws IOException {
    List<LayerEntryTemplate> jsonTemplates = new ArrayList<>();
    for (FileEntry entry : layerEntries) {
      jsonTemplates.add(new LayerEntryTemplate(entry));
    }
    Collections.sort(jsonTemplates);
    return jsonTemplates;
  }

  private  LayerEntriesSelector();

}