MakeMyTrip interview question

sort array of 0 and 1