Watch how different sorting algorithms organize data
Picks a 'pivot' and partitions the array: elements smaller than pivot go left, larger go right.