Cognizant interview question

Sort an array?