SHL Global Interview Question

Sort an array containing only 0s and 1s.