Sort Array of 0s and 1s

Given an array consisting only of 0s and 1s, sort the array.

Difficulty:

Console