Superscript and subscript together after the same atom
From IUPAC Green Book [1, p. 51]:

In writing the formula for a complex ion, spacing for charge number can be added (staggered arrangement), as well as parentheses: $\ce{SO4^2-}$, $\ce{(SO4)^2-}$. The staggered arrangement is now recommended.

Also, as you are apparently a $\mathrm{\LaTeX}$-user, the same convention is used by default in chemformula package. From the manual:

If a compound does not start with a sub- or superscript and there is both a sub- and a superscript, the superscript is shifted additionally by a length determined from the option charge-hshift = {❬dim❭}, also see page 13f.
The second point follows IUPAC’s recommendations.

References:

IUPAC “Green Book” Quantities, Units, and Symbols in Physical Chemistry, 3rd ed.; Cohen, R. E., Mills, I., Eds.; IUPAC Recommendations; RSC Pub: Cambridge, UK, 2007. ISBN 978-0-85404-433-7.