Forum Academy Marketplace Showcase Pricing Features

[HELP] Sort RG by User's Rank's weight

Hi folks,

I have an issue with a repeating group and sorting it. I have a repeating group of users, each user has a “Rank” and each “Rank” has a “Weight”.

I want to sort my List of User’s based on weight. So for example, if John Doe had the Rank CEO (weight 1) he would show at the top and below him, Jane Doe (Rank COO, Weight 2) would show.

Two ways to do this. Either use “options sets” which have order associated with them (if you’re not familiar bubble has a vide on them) or add an order field to your Rank data type and then sort by the order field but display the “weight”

1 Like

You can do this with List Shifter. (Mapped sorting — sort the values in List shifter by some arbitrary List expression of the same length such as Thing’s Subthing’s Subthing’s Field.)

Try it out.

Hey Keith,

Thanks for your help yesterday and I’m pleased to say that after spending some time working with List Shifter on this issue I actually managed to do it!

I send the list to the list shifter element then SORT the element by each item’s rank’s weight and format the list as text. This gives me the intended effect!

1 Like

Kewl. That’s one of the many many use cases for List Shifter!