Bosscoder Academy interview question

Sorting an array of 0 and 1.