In Depth - Untangling Array#sort

What I Talk About When I Talk About Sorting: Untangling Array#sort
By Claudia Hernández

Sorting things is a fundamental part of our daily lives—it’s something we do everyday, following all kinds of criteria to make our lives easier. Whether you’re looking for a person’s phone number, the location of your favorite book, or even matching up your socks, sorting allows us to find what we are looking for in a faster and more effective way.