You have that backwards ScvPirates. If there is a dominant male in a tank, some of the males will not fully develop and will seem to be females at a casual glance. When the dominant male is no longer present, one of the sneaker males will develop to become the new dominant male. A swordtail's gender is determined by genes, not by tank mates. What changes is the fish's willingness to be recognized as a male.