Friends perform their specified actions before foes. This means that a friend's action may cause a triggered ability of a foe's permanent to trigger before that foe's action causes that permanent to leave the battlefield.
Zndrsplt's Judgment
You may call a player a friend or a foe even if that player will be instructed to perform an impossible action. For example, for Regna's Sanction, a foe may control no untapped creatures.
When Zndrsplt's Judgment resolves and you choose friend or foe, first the next friend in turn order (or, if it's a friend's turn, that friend) chooses a creature they control, then each other friend in turn order does the same, then each of those players create a token at the same time. Friends will know choices made by earlier players when making their choices. Repeat this process for foes, who choose a creature one at a time and then return them all to their owners' hands at the same time.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Bayard Wu
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
