Custom sort order of repeater elements

Good afternoon. I am building a customer testimonial page using a repeater connected to a database with Wix Code. Right now it appears that the live site sorts the data by date created and I would like it to sort by the date field that I have assigned in the database. Is there a way to define a custom sort order? I tried applying sorting in the sandbox and live database but that does not seem to affect the way the page is rendered. You can view the page in question at https://www.tempest-av.com/CustomerTestimonials

Thank you,
Andrew Birklid

Hi Andrew,
You need to set the sort order using the Dataset which the repeater connects to, on the page (not in the collection manager).

Perfect, thank you!

For anyone reading this in the future, here’s a bit more detail:

  1. Open the Dynamic Page in the Wix Editor
  2. Click on the dynamicDataset icon on the page
  3. Click Manage Dataset
  4. Scroll down to the Sort area
  5. Click + Add Sort

2 Likes

Thank you! I faces the same challenge too. Appreciate your details!