Goldman Sachs interview question

Sort random numbers in an array