Hi @philnauta! Sorry to just be getting back; I’ve been traveling for the past 5 weeks.
So, the problem with using :grouped by is that you are only able to sort the “groups” by Bubble’s default sorting. I looked around a lot, and didn’t see any easy way to fix this, so a work around had to be created.
In general, what I can sort in Bubble is data returned from a search. The other comment mentioned that this isn’t efficient since it’s being ran on every cell (unfortunately), but it works, and will only do a search through the data that’s in your repeating group, since you’re selecting that as the source. Searching is also much faster than filtering.
The search we perform in the new group we created (which is in each repeating group cell) is just there to return the same data as the repeating group, so that we can manipulate it the way we want. From there, we do the type of sorting we want. In my case, I wanted to sort by a restaurant name.
Now each cell will return that same sorted data. To access the data you need, you select the one that is at the current cell’s index!
Confusing as hell, I know - it took me forever to get to that point. Hopefully that helps clear things up a bit.