A Sorting Algorithm is used to rearrange a given array or list of elements according to a comparison operator on the elements.
The comparison operator is used to decide the new order of elements in the respective data structure.
A comprehensive repository on sorting algorithms based on C Programming Language
C