quick and merge sort in scala