OYO Interview Question

Sort an array having only zeros, ones and two.