In this article, we are going to discuss about array sorting and diffrent ways to sort an array and there implementation.
What is Array Sorting:-
Sorting means arranging items either in ascending order or descending order. Arranging an array’s elements either in ascending order or descending order is known as array sorting.
![Array sorting](https://gangforcode.com/wp-content/uploads/2022/12/image-18.png)
We can sort an array by using following algorithms and methods
Insertion Sort:-
We can sort an array by using insertion sort. You can learn about insertion sort here.