code: private void sortBlocksBySize(Map<String, List<OneBlockInfo>> nodeToBlocks) {
      OneBlockInfoSizeComparator comparator = new OneBlockInfoSizeComparator();
      for (Entry<String, List<OneBlockInfo>> entry : nodeToBlocks.entrySet()) {
        Collections.sort(entry.getValue(), comparator);
      }
    }
docs: Sort the blocks on each node by size, largest to smallest
  
  @param nodeToBlocks Map of nodes to all blocks on that node