Sarkhan the Mad help

Hello,
I'm playing Sarkhan the Mad. My deck is the one that wins by making him discard his library. But Sarkhan keeps putting cards back into his library and I don't know why. Is this a bug?
Thanks.
<edit> I just read "His deck has two creatures that cause his entire graveyard to be reshuffled into his library if those creatures wind up in the graveyard."
I'm playing Sarkhan the Mad. My deck is the one that wins by making him discard his library. But Sarkhan keeps putting cards back into his library and I don't know why. Is this a bug?
Thanks.

<edit> I just read "His deck has two creatures that cause his entire graveyard to be reshuffled into his library if those creatures wind up in the graveyard."