Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

Issue with sorting in latest version of Slack

6 replies
Last updated: Mar 25, 2024
Sorting using a date field returns the exact same order for "asc" and "desc"
Mar 25, 2024, 5:33 AM
tried changing it to _createdAt and its the same, so is this an error on the latest version??
Mar 25, 2024, 5:36 AM
Try removing the comma between the field name and direction.
Mar 25, 2024, 6:26 AM
OH right lol, ive been at it for hours 😭
Mar 25, 2024, 6:28 AM
its deadline today so I've been panicking
Mar 25, 2024, 6:28 AM
We’ve all been there 😅
Mar 25, 2024, 6:30 AM
Thank you btw!
Mar 25, 2024, 6:30 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?