Planview interview question

sort an array in ascending order