Bharti Airtel interview question

Sort an array of 0s and 1s