You take your 6" (or 8" ) x 24" inch ruler, and fold the fabric around it. Then fold in half (or thirds).
This way, when you place it on the shelf, each piece is the exact same size, and they all line up and pile up nicely.
It's a beautiful thing.
Think T-shirts at Old Navy/The Gap.