Hello Cheawashoing51
It does not really matter. Important is that the names mentioned as first and last name are also mentioned in the ID document. The order is secondary.
Do not forget to bring your physical passport or ID card to be presented during ticket check, as copies or photos on mobile phones are rejected.
Kind regards,
Roland