merge sort is working