I had ended up in a weird sitution where the order of cards come into question. For the lead up, I was working on the hydra mystery and we had converged near hydra, I gained and used the puzzle box to get the sword and another character then took it in a trade, confronted and killed hydra whch was my final mystery. Durning mythos phase there was no mythos card since this was the final round.
So what comes into play first?
During mythos phase when you draw a card but the mythos deck is empty, the mythos phase ends and investigators lose the game.
After mythos phase, final mystery is solved, investigators win the game.