Calculating the Optimal Sock Drawer Algorithm
For the most efficient use of your sock drawer, we've developed a proprietary algorithm.
Step 1: Sort by Color
- Red socks with red
- Blue socks with blue
- Green socks with green
Because who needs socks of multiple colors?
Step 2: Sort by Type
- Socks with holes with socks with holes
- Non-holey socks with non-holey socks
- Unsure socks with unsure socks
Because functionality is everything.
Step 3: Sort by Owner
- Socks of the homeowner with socks of the homeowner
- Socks of the roommate with socks of the roommate
- Socks of the mysterious sock thief with socks of the mysterious sock thief
Because accountability is key.
View Algorithm Details
// Sock Drawer Algorithm v8
// by SockGenius Inc.
var sockDrawer = {
"sortBy:color": ["red", "blue", "green"],
"sortByType": ["holes", "noHoles"],
"sortByOwner": ["homeowner", "roommate", "mysteriousSockThief"]
}
Next Step: Sort by Size