Forgive me for sounding 'practical' here, but I put my socks in net lingerie bags before washing. I never lose a one.
Also, I like different kinds and colors of socks, but if I have several of the same style to wash at the same time, I have some little plastic sock pair-ers that look like tiny eyeglasses. They hold the two socks together in the net bag. That way I'm not putting an old thin sock together with a newer less-worn sock. Sorry, but I have no idea where I got these as I've had them for eons.