Insertion Sort Visualization

64
34
25
12
22
11
90

Watch how insertion sort builds a sorted array by inserting elements one at a time into their correct position.

Yellow bar is the current element being inserted, red bar is being compared, green bars are in their sorted positions.