Write a C program to sort the elements using the efficient sorting technique whose complexity is O( n log n) where n is the number of elements in the array code example
Example: sorting in data structure
A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of element in the respective data structure.