When you were a student, did you ever lose partial credit for an exam question that you answered correctly because you did so for the wrong reason? Or because you didn't show your work? Hold that thought.
sort function. This function typically implements the Quicksort algorithm, which sorts an n-element sequence in O(n log n) time — on average.
Test-driven development is among the most important ideas about how to develop software in the past 20 years or so.