this one is a bit tough on the wording, probably got it wrong
What You Leave Behind
Sorcery
Each player discards his or her hand. At the beginning of the end next step, each player returns to his or her hand that many cards from his or her graveyard.
I would switch end and next for sure, and then...
Suggested wording: Each player discards his or her hand. At the beginning of the next end step, each player returns that many cards from his or her graveyard to his or her hand.
Also, sorry to say, but this card sucks big time. It's three colors, so difficult to cast. It is card disadvantage for me, but card parity for my opponents. I can't cast spells after I cast this because I just lost my hand, but my opponents get their hand back before their turn. My opponents get to use the sweetest cards they return before I get the chance to use mine. Really, this needs a huge shot in the arm to be anywhere close to worth it. Moving the trigger to the beginning of your next upkeep instead of the beginning of the next end step would be a vast improvement, but it might not even be enough. If you can choose which cards are returned, that would also improve the card dramatically, because then you can make it better for you then for your opponents.