I'm sure this has happened before, but I can't recall seeing it. Very strange that it occurred in the first inning of a game. I could understand if it happened later on because of a double substitution.
https://nesn.com/2018/05/mets-caught-batting-out-of-order-apparently-turned-in-wrong-lineup-card/
http://www.sportingnews.com/mlb/news/mlb-mets-reds-new-york-bats-out-of-order-brings-inning-to-end-video/1ftwyima4u5g61mcy6ek1gwmvc