Question d’entretien chez Infosys

Sort an array containing elements from the set (0,1,2)