Invasive Surgery U
Instant
Counter target sorcery spell.

Delirium — If there are four or more card types among cards in your graveyard, search the graveyard, hand, and library of that spell s controller for any number of cards with the same name as that spell, exile those cards, then that player shuffles.