Little Black Book interview question

sort an array containing only 0 & 1