Sort repeating group - custom state

Hi!

I am facing an issue.
I need to show a repeating group in a page, sorting in a “descending” way.
I am trying to use a custom state (number) that is calculated every time the page is load, and divides two numbers of each cell (item). The cell with the best percentage (bigger number) should be showed first.

But I don’t know how to calculate this state in each item of the repeating group (I can calculate it with a specific item, but not with all the items). So, I can’t calculate the state for the entire list of items.

How can I do it?

Thanks!

This topic was automatically closed after 70 days. New replies are no longer allowed.