Merge sort with auxillary array