Risksis interview question

Write down persuade code to sort the following array.