Cadence Design Systems interview question

Sort an array of 0,1 and 2 only?