The rules of Magic
3.14 Graveyard Order
“In formats involving only cards from Urza’s Saga™ and later, players may change the order of their graveyard at any time. A player may not change the order of an opponent’s graveyard.”
In practice, if you don’t include any cards with GY order matter...