Very crude but minimal implementation of external sort algorithm
- Map: Break large file into smaller chunks and sort those chunks
- Reduce: If
k
chunks are generated, do ak
way merge of sorted list using a priority queue and keep storing the minimum element of priority queue into a large file which will be the sorted version of our original file once the reduction completes