Virtusa interview question

How do you sort array of given numbers