<<If you keep two male swordtails in the same fish tank there is a very high likelihood that one will become female.>>
Yea, and if you keep two swordtails in prison, it's likely the smaller one will turn female. (g)
More seriously, the apparent change in fish sex is always female changing to male, and not visa-versa. This behaviour is also observed in some frogs (remember the result of frog DNA in Jurassic Park?). However, whqt is observed is not actually what is happening. In swordtails, the "change" of females to males is most often a result of late sexual maturation in some individuals: