The only space I have is in a cupboard stored vertically, but they’re clumsily leaned against one another other.
UPDATE: Thank you for the suggestions everybody! I ended up finding a metal thing, almost like a file organizer, from value village for $2 that worked perfectly.
Our cupboard has little grooves top and bottom, and we have little wooden dividers that go into the grooves, so we can make as many sections as we want. It was a custom build, but I don't see why it would be hard to add something like that after the fact by taking down some slats with the grooves cut into them.
I see there's also a lot of products like this one.