merge sort fixed