merge sort mod