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