Sorting refers to the process of arranging elements of a list in ascending or descending order.
There are several ways in which we can sort a given list. Here we shall discuss some classical sorting algorithms to sort List<Int>.
List<Int>