ExcelR interview question

How will you sort a given array?