Mental Model
Sorting arranges items in order so we can find, compare, or group them easily. It makes many problems simpler and faster to solve.
Analogy: Imagine organizing books on a shelf by height. Once sorted, finding the tallest or shortest book is quick, and grouping similar books is easier.
Unsorted array: [7] -> [2] -> [9] -> [4] -> [1] -> null Sorted array: [1] -> [2] -> [4] -> [7] -> [9] -> null
