private void addToLogEntriesInOrder(List<IndexEntry> indexEntries, List<LogEntry> logEntriesInOrder) {
    Collections.sort(indexEntries, PersistentIndex.INDEX_ENTRIES_OFFSET_COMPARATOR);
    for (IndexEntry entry : indexEntries) {
      MockId id = (MockId) entry.getKey();
      logEntriesInOrder.add(new LogEntry(id, entry.getValue().getIndexValueType(), entry.getValue().getSize()));
    }
  }
Adds {@link LogEntry} instances for all the {@code indexEntries} to {@code logEntriesInOrder}.
@param indexEntries the index entries to process.
@param logEntriesInOrder the list of {@link LogEntry} instances to add to.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java