You can thank this article later when you have purchased a cord organizer, as it will really be a life changer (both in everyday life and also when it comes to traveling). There is nothing more frustrating than digging through your bag and looking for a charger or headphones when you need them. The cords all get stuck together, and it can become a big mess very quickly. That is where cord organizers come in.
You can buy nice and fancy leather ones like these if you want to keep the classy traveler look, or you can even use a hair clip or hair tie if you are desperate; anything to keep those cords together will help.