I'm looking for a way to organize empty straight razor boxes so I can find them quickly.

I tried dividing a large cardboard box of about straight razor height into smaller sections, loosely alphabetizing the sections, and putting the boxes in there vertically, and that worked for a while, but when sections got full and tightened around the boxes, whenever I pulled a box out to look at it, the box would separate from its lid and disappear.

I've since outgrown that, so now I have hundreds of boxes and no easy way to get to them quickly.

It would also be nice to organize all the half-boxes that I don't want to throw away because maybe some day I'll find the other half for a razor that needs a box, but they're either short lids without a box, or longer half-boxes without lids, so they're even harder to store.

Any ideas?