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