Algorithm 7-3: The Sock Drawer of Despair

This algorithm is a never-ending cycle of despair, a Sisyphean task that will haunt you for all eternity.

Given a list of socks, it will sort them by color, then by size, then by...

Wait, no, it just does that over and over again. Forever.

You will never find your missing sock, but you'll have fun trying.

Try it with a list of socks:

Sort a list of socks

Troubleshoot your sock drawer

Please enter a list of socks, separated by commas, like this: Red, blue, green, 42, etc.