The following example sorts the elements of the $cars array in ascending alphabetical order:
The following example sorts the elements of the $numbers array in ascending numerical order: