The cation comes first, both in the name and in the formula for an ionic compound.
When naming an ionic compound, the cation is written first.
the cation<>is written<>first<>When naming an ionic compound