Merge and Quick Sort