Question d’entretien chez Broadridge

Sort the 1s and 0s in a given array without using built-in functions