Risksis Interview Question

Write down persuade code to sort the following array.