merge sort, quick sort and selection sort