The general rule is that the first child to physically exit mom's body is "first born". Doesn't matter if twin comes out a few minutes later.
Alexandre Dumas wrote about the hidden twin of a French Monarch in “the Man in the Iron Mask”.
They thought the claims of the second born twin was too likely to lead to civil war - what if they mixed up the babies sometime during their youth, etc.