sorts entries above the
p
th
quicksort(i,p-1);