Mental Model
Insertion sort builds a sorted list by taking one item at a time and placing it in the right spot among the items already sorted.
Analogy: Imagine sorting playing cards in your hand by picking one card and inserting it into the correct position among the cards you already hold sorted.
Unsorted array: [5, 3, 8, 4, 2] Sorted part ↑ [5] [3] [8] [4] [2] Initially, only first element is sorted.
