ok, i bought some test strips and tested the water, this is what i got:
the nitrate was about 20 and pH was about 7
OK the cory should be fine in that.
If it hasnt started to clear up, Try treating with a bactericide. It may be infected with a Pseudomonas bacteria.
i also bought abother cory so that mine would have a friend and got 2 dalmation mollys. i just read that the mollies need aquarium salt, would it be OK to put some in the tank with the swordtails and corys in there too?
A little salt won't harm your cory's, or the mollies.
Regarding the mollies.
Poecilia sphenops which is believed to be the original wild stock form, from which we get the dalmation and other strains, are found in a variety of habitats including estuaries (as Matsp points out) The problem over salt tolerance is a bit hit and miss I am afraid, due to the some fish farms do not use salt (or very little) with their stock, while others use quite a considerable amount. This coupled with the fact that those using a lot of salt also frequently raise the Ph to around 7.5-8.0, I have seen the water 'shimmer' when the water in the bag was mixed with the aquarium water at a wholesalers I was at once, there was that much salt in the water it was close to being a saline solution
Due to people new to fish keeping,not being aware of these factors, quite a high mortality rate in mollies usually happens if the water source is similar to mine, soft and neutral. Some LFS in my immediate area very rarly stock mollies for this reason.
BTW... Iam now moving this post into The corydoras forum