It wasn't until I'd *taught* algorithms a few times that I finally understood why sorting is in the CS curriculum. Unfortunately, most curricula don't explain this!
It is NOT because sorting is an important algorithm to learn to implement...
As a 41 year-old software developer do you know how many times I've had to manually implement QuickSort?
Zero.
Maybe we should test for more useful skills like taking a slow SQL query and optimizing it.















