How do I add a sort feature to Wix Pro Gallery? (sort by hearts)

Goal: I would like for viewers to be able to press a sort button on my gallery page. The gallery comes with built in “Heart” (like) feature with a counter on each picture. I would love for viewers to be able to sort by highest “liked/heart” picture.

At the moment I was able to add a pagination bar to be able to show 20 images per “page” but I have not been able to figure out how to add a sort for the hearts.

Thank you for your help

Hi,
Unfortunately this isn’t possible at the moment :frowning:
Feel free to post a feature request here .

This is a basic feature and wix should have it, can we code it, is there a possibility?

Hey Aishan :raised_hand_with_fingers_splayed:

If you’re using a dataset or a query to populate the gallery, you can sort them before populating the gallery, if you’re populating the gallery with a custom array, you can map the array to its titles and then sort it, after that, you need to use a for loop to get the index of each item of the mapped array and then populate the gallery.

Hope this was useful.
If you have further questions please open a new post with your question.

wix is supposed to make creating a website simple - how is that response supposed to be simple? Do you really think programmers are using Wix?