Key for me is to "group" cables. For example, I have a bag of USB-C cables, a bag of USB-A cables, etc. Grouping them is key to deduplicating. It's easy to look at a single legacy USB A-to-B "printer" cable in isolation and think "I might need this someday!" Because you really might need it someday. However, if you group them you might see that you have ten of them. And then you can get rid of... maybe 8 of them. I a…
Ziptie once coiled, attach label for what format / length.
Bag cables with the same connectors. If you have more than fit in a gallon ziploc you should probably reduce them.
Bonus if you hang them on a pegboard so you can see them with big clear labels on each bag.
Edit: and shrinkwrapped labels on each end (e.g. 12345-USBC-2m) for double bonus points so that you never have to trace a cable to find the other end.