Be Able to Sort a Repeating Region By Multiple Column Values

I’ve read a database table called contacts into a Data Store.

I want to display them sorted in a repeating group, first by the field is_deleted, then by the field id, so the region may look like this:

id  name
====================
5   Fred
2   John
1   Jane
6   Mark (Deleted)
4   Bert (Deleted)

So I want to be able to do something like:

.sort(is_deleted).sort(id.reverse())

This is a feature request to be able to have:

  1. Multiple sort column values per repeating region.
  2. To be able to select reverse for any one of those columns.

This feels especially important now we have the Data Store element. This kind of sorting is possible when using a Server Action, but with the Data Store, the sort ability needs to come back down to the point of display, i.e. the Repeating Group.

Best wishes,
Antony.

Community Page
Last updated: