The sort() function sorts an indexed array in ascending order.
Sort the elements of the $numbers array in ascending numerical order:
Run Example>>