code: public static <T extends EntryValue> void sortEntriesById(List<Entry<T>> entryList) {
          if (entryList.size() > 0) {
              Collections.sort(entryList, new Comparator<Entry<?>>() {
                  @Override
                  public int compare(Entry<?> e1, Entry<?> e2) {
                      long v1 = getEntryId(e1.getFile().getName());
                      long v2 = getEntryId(e2.getFile().getName());
                      return (v1 < v2) ? -1 : ((v1 == v2) ? 0 : 1);
                  }
              });
          }
      }
docs: Sort entries in the ascending order of entry log IDs.