LTM Limited interview question

Sort array in descending order