Codimite interview question

1- sort an unordered array and print largest number