Clear Hefty Slider bags are perfect for this! I have my cable boxes (Hefty Hi-Rise) filled with these bags, USB -A to USB-C, USB -C to USB-C (then sub-bagged with 65w, 100w, 240w) and so on.
Point is, use clear bags so you can see inside, and Hefty makes the slider version. I get the gallon and half gallon bags for this, and then the quart size as well. This is the Marie Kondo technique and it's amazing for keeping all these cables which are always coming in handy!
I keep the duplicates, because you never know which color and length is going to be the perfect fit for the current need!