Why it matters
Sorting is everywhere. Your contacts, your playlist, search results, the leaderboard in a game: something sorted them, often millions of times a day.
For a few items, any method will do. For a million, the gap is huge. n² is a million million steps. n log n is about twenty million. At a hundred million steps a second, that is nearly three hours against a fifth of a second.
And here is a deep fact: any method that only compares two items at a time needs about n log n comparisons in the worst case. No cleverness can beat it. Radix sort gets round this by never comparing at all.