have psort use quicksort in chunks, then merge for large inputs