Bubble sort, quicksort (Algorithms 4th)