I’m trying to sort a list of posts by popularity in a repeating group. This popularity is based on the number of upvotes minus the number of downvotes. Unfortunately, I can’t see how to sort the RG by this simple calculation as I only see the sorting option for the actual fields (upvotes, and downvotes etc).
I really don’t want to have to add the calculated field in the database that is also changed whenever an upvote/downvote is done. So is there a better option?