Hitachi Vantara interview question

To arrange array in ascending order