Changing order of repeating group depending on a condition with a different sort value

Hi,

I’m trying to make a repeating group that displays a list of “recipes” sorted by creation date, but I want that when a recipe’s price > 25 (example to simplify things) this recipe (or all the recipes that meet this condition) come first in the list and the creation date sorting stays.

I don’t know if this is posible, my first option was to have 2 repeating groups but since I’m trying to display this in a single row with horizontal scrolling I couldn’t have 2 repeating groups that don’t fit their width to their content (already tried CSS).

Thanks in advance and sorry if I’m just being stubborn with the way I want to layout this.

You would want to use :merged with

Search for Recipes (conditions when price is under 25) then :merged with Search for Recipes (sorted by creation date)

It worked! Thank you so much.

1 Like