Salesforce Interview Question

Sorting random numbers