Mental Model
Sorting arranges items in order so we can find, compare, or combine them easily and quickly.
Analogy: Imagine organizing books on a shelf by size or color so you can quickly find the one you want without searching all of them.
Unsorted array: [7] -> [2] -> [9] -> [4] -> [1] -> null Sorted array: [1] -> [2] -> [4] -> [7] -> [9] -> null
