Trying to sort a repeater group by a different 'data type'

A Search… always returns a list. Search for Games (no constraints) will return a list of all of the Game objects in your database. (I’m sure you know that, but FYI as a baseline).

If you’re trying to sort a list of Games by the number of “working” ratings corresponding to that list of Games, as I’m sure you’ve discovered, it’s easiest if the number of “working” ratings is just a scalar field on Game. That’s the only type of sort that vanilla Bubble can do.

However, if you can construct a list of numbers that corresponds to the Games in exactly the same order, List Shifter can sort your Games by that.

Another (easier) way to do this is with Floppy’s (one of my commercial plugins) “Count Fields/Sort” action. STILL, however, it is best if “Working” were a list of (anything) on the Game object itself.

See the following video:

Originally shared here in the Floppy thread.