It is easy to carry out different operations on the idea if it is arranged or in some order (ascending or descending). The process of arranging the data or information in some order (ascending or descending in case of numeric data and dictionary order in case of alphanumeric data) is called sorting.
Example: