phrasal-verb
come up trumps
Meaning
to perform unexpectedly well; to succeed when least expected
Example
She **came up trumps** and saved the project just in time.