Sorting by Symmetry: The Algorithmic Sock Connoisseur

This is the art of sorting socks by their symmetries, because why not?

Warning: excessive sock symmetry may lead to existential crises.

Symmetrically sorted socks