Forum Academy Marketplace Showcase Pricing Features

How to sort RG Randomly - WITH a constraint?

I have a repeating group of Vendors who may or may not be “Featured”. (Featured = Yes/No Boolean).


  • I want “Featured” vendors to display at the top of the repeating group

  • I also want the repeating group to display “Featured” vendors in a random order on page load

  • I also want Non-Featured Vendors (Featured = No) to display in the same repeating group - in a random order underneath the “Featured” vendors

I can sort the RG by “random sorting” but am trying to figure out how to display all “Featured” Vendors at the top of the RG in a random order.

Is this possible?

Use merge to combine the 2 sources. Your first source will be for the featured vendors and then simply merge that with those that are not featured.