Apple Interview Question

How would you sort an array in-place?