What is Sorting ? Why Sorting?
Sotring is an algorithms that arranges the elements of a list in certain order.it can be in ascending , descending or any other fashion.sometimes sorting reduces the problem complexity.we can reduce the search complexity.
Classification categories of sorting ?
1.Number of Comparision
2.Number of Swap
3.Memory Usages
4.By Recursion
5.Adaptability
Other ways are :
1.INTERNAL(uses main memory only)
2.EXTERNAL SORT(uses external memory ).
1. Bubble Sort
3. others