External merge sort with multiple merge phases
Add in-memory sort
Add test tool to check whether a file is sorted