Improved ChunkList.mergesort by adding keyedChunkMap.