How do I sort a repeating group by a Field which is a count of a list of users

Hello, I am building an app like product hunt and the database approach I used is that the vote button is a list of users, so when a user clicks the button, it adds them to the list and displays the count of users in that list.

I have a problem when implementing sort of votes using a dropdown, I was successfully able to implement sort to 'date created ’ fields.

When doing a search based on the value of the dropdown, I dont see a sort field for ‘votes’

Can anyone please assist me on how to go about this?

Hey!

Along with List of users, create another field of type Number to store number of votes. You can sort RGs using that field.

1 Like