you're the same person that just added a loach to your overstocked tank. I guess if you are planning on upgrading soon it's okay, but with all the fish you got now you're already going to want to go pretty big.
I see you're doing the research now on adult maturity and sizes of your fish and fish you want good idea. The other element you won't always see is what kind of tank your fish need. Some fish need big tanks to compensate for the excessive waste they produce. For example a 3''
goldfish will pee and poo way more than a 3'' tiger barb. Bioload is very important this will also account for how frequently you need to do water changes and how often to clean your filter.
so now you have the inch/gallon rule (1) and the bioload (2) aspects to worry about.
(3) fish habits - some fish are very active and need lots of room to swim (tiger barbs), some fish will ruin your plants and move your decor (oscars), some fish need lots of hiding places (loaches/red tail sharks), coldwater (goldfish) or tropical (sharks/danios/loaches/etc). Longer tanks are preferred for fish that are very active, so my 20G long would be much better than someones 20G high for lets say my tiger barbs and redtail shark, because I have more length for the barbs to swim and more surface for the shark to patrol and stake territory (there are territorial fish). Now another note, some fish need to be in schools some can do alone (oscars and plecos can solo, but the clown loach and your swordtail may prefer a school. Schooling/solos don't matter so much as long as you don't have fish that become aggressive without a school (tiger barbs fin nip other species when in groups of < 5, and even with 5 they still might). You should also consider what your fish are to the tank. Are they Top/Mid/Bottom dwellers. You shouldn't max capacity on 1 dweller, they crowd the same area and the weaker ones are forced to where they don't like to be, creating stress = unhappy/death. So if you balance your top/mid/bottom well you should be able to have a nice mix of fish.
Unfortunately for your 10G tank, I would recommend maybe a dwarf pleco, some tetras/neons, and maye a
betta. I don't recommend anything that grows > 3 inches for your tank ever, unless you want 1 fish only and it will be boring.
My piece on fish habits is so detail oriented because it covers everything the 1
inch per gallon rule doesn't.
So basically, with your 10G tank, please stop buying fish. Save yourself monies, and save the fish their lives, and yourself a lot of time and work. keeping fish alive in an overstocked tank isn't easy. keeping an understocked tank is much easier and requires less maintainence allowing you more time to enjoy your fish rather than worrying about conditions left and right.