fixed the merge sort, sorta