merge sort g2g. fix quicksort