While it's normal for mollies to inhabit alkaline, high pH environments, and even natural for some mollies to live in brackish environments, I'm not aware of any swordtails living in these conditions. They are a pretty strictly freshwater species, and at best this would not be ideal for them.