quick sort completed, merge sort improved