Pregunta de entrevista de Blue Yonder

Q. Sorting an array which has 0,1 and 2 as elements.