Sorting is a technique in which we arrange the numbers or characters in ascending or descending order.
Unsorted Numbers :
After sorting the Numbers :