If, for example, the UK's Prince George and Princess Charlotte were twins, regardless of gender the twin that was born first would be the heir apparent, Tattoo.
However, in the case of the Grimaldi royal twins Gabriela was born first but, in accordance with male priority of Monaco's succession law, Jacques is the heir.