They teach sorting because it's really easy to understand the time complexity and where it comes from. There are many many different ways to do it. There is a clear goal for the algorithm and its very easy to tell when you've achieved that goal.
They teach sorting to teach you about time complexity, effociency, and dynamic programming. You're not actually supposed to learn how to sort.
That was my interpretation, anyway.
- nikstick22
Please Signin or Signup to add a comment