Suvit interview question

Sort algorithm for an array