TEKsystems interview question

Sort an array of 0,1 and 2 elements.