First ghusl must be done to regain tahrah (ritual purity) in order to be able to pray and worship. If a woman became junub during her menses. Even if she performed ghusl for Janabah she doesn't get in a state of tahrah unless by coincidence her menses ended. So from a logical point of view ghusl (of Janabah) is not necesarry, but in case of a supposed haram (illegal) reason for this Janabah tawbah(repentance) is required. Nevertheless she might perform ghusl for Janabah during her menses. But it won't be a valid reason for being able to pray as her menses has not yet ended and praying during menses is haram (See for example: https://islam.stackexchange.com/questions/56242/do-women-need-to-check-their-menstruation-before-fajr-to-see-if-they-are-require/56244#56244). Otherwise if more than one reason for ghusl applies one could perform one ghusl for different purposes. The matter of niyyah (intention) has been discussed and answered on the site before: it is not necessary nor more than permissible to utter it, as niyyah is in the heart. Further some scholars like the Hanafi school of fiqh and imam Sufyan a-Thawry say niyyah is neither required for ghusl nor wudu' nor any non pure worship. (See my answer on: https://islam.stackexchange.com/questions/61916/is-niyyat-for-ghsul-needed) As for how to perform ghusl this has also been answered on the site. The same applies to the topic of menses and how to identify its ending. (See https://islam.stackexchange.com/questions/40872/i-have-an-period-where-the-blood-comes-in-small-amounts-is-it-valid-for-me-to-f)