Pergunta de entrevista da empresa Compunnel

How to sort an array with 0s and 1s only init