Function or logic to sort an array of numbers.

Certified Senior Developer

Do we have any function to sort an array of type integers in Ascending or Descending order (except a!sortInfo(), which did not help) 

For instance: I have an Array {1, 4, 6, 8, 5, 3} & I want to sort it in Ascending. 
So the O/P will be {1, 3, 4, 5, 6, 8} 

Thanks in advance!

  Discussion posts and replies are publicly visible