quicksort

allows repeated items; pivot is fixed at [0]