Sorting is the process of arranging elements of a list in particular order either ascending or descending.
There are various types of sorting methods available. Sorting methods are basically divided into two sub categories.
(1) Internal Sort
The sorting method that does not required external memory for sorting the elements is known as internal sort. It is useful when we have to sort fewer amounts of elements.
Following are the example of internal sort method.
1. Bubble Sort
2. Selection Sort
3. Insertion Sort
4. Quick Sort