6. Show that QuickSort takes O(n2 ) time when the input list is already in sorted order. (20%)