- Posted By: pradeeshtet
- Comments: 0

## Insertion sort algorithm simple explanation with example

Insertion sort in java. Inserttion sort algorithm is explained here, with an example on sorting an array. The main idea of insertion sort is to repeatedly find the next smallest number and move it to the starting position, if the sorting is to be in ascending (increasing) order. Read other sorting algorithms like insertion sort and bubble sort along with this which helps you to understand sorting algorithms in clear.

**Explanation:**

Take an array consist of four numbers {72,18,8,90}