sorts entries below the pth

quicksort(p+1,j);