Publicis Sapient interview question

Sort an array and reverse it