Mental Model
Insertion sort builds a sorted list one item at a time by inserting each new item into its correct place.
Analogy: Imagine sorting playing cards in your hand by picking one card at a time and placing it in the right position among the cards already held.
Unsorted array: [5, 3, 8, 4, 2] Sorted part ↑ [5] 3 8 4 2
