Multi-merge sort