n way merge sort
fix merge sort, pf turning