OPNET Interview Question

sort an array in O(n)