Mental Model
Sorting arranges items in order so we can find, compare, or group them easily and quickly.
Analogy: Imagine organizing books on a shelf by height so you can quickly find the tallest or shortest book without checking each one.
Unsorted array: [3] -> [1] -> [4] -> [2] -> null Sorted array: [1] -> [2] -> [3] -> [4] -> null
