Now 99 is compared and placed on the right hand partition

This is done until we have compared every element. The result will be -

We now know that everything in the left partition is smaller than the pivot and everything to the right is bigger. The pivot is also said to be sorted.