Your opponent won as they met the victory conditions when you were destroyed and so the game would immediately end then, regardless of you having a card you could otherwise have played.
This has caused some debate on Discord so I'm hoping to get an OFFICIAL answer (or even just highlight the issue for inclusion in a future FAQ).
If the defending unit is destroyed by the attack is the unit with the Sentinel Order able to trigger this or would it not work because the defender...