Sorting is the process of arranging the data in alphabetical or numeric order either in ascending order or descending order.