If putting any of those permanent cards onto the battlefield causes abilities to trigger, those abilities will wait to go on the stack until Primal Surge has finished resolving. Starting with the active player, each player puts their abilities on the stack in any order.

Artwork
Loading artwork…
Primal Surge
Avacyn Restored · #189 · EN
Nonfoil—Foil—
Card rules
Exile the top card of your library. If it's a permanent card, you may put it onto the battlefield. If you do, repeat this process.
With Avacyn's return, the flow of life became a tidal wave.
Mythic · Illustrated by David Rapoza
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Penny Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Oathbreaker Banned
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Repeating the process includes the instruction to repeat the process. That is, you’ll keep exiling cards and putting them onto the battlefield until you fail to put a permanent card onto the battlefield.
If you exile a permanent card that you can’t put onto the battlefield (such as an Aura with nothing legal to enchant) or one you don’t want to put onto the battlefield, Primal Surge finishes resolving.
A permanent card is an artifact, creature, enchantment, land, or planeswalker card.