Joint session with Vercel: How to build intelligent storefronts (May 15th)

Document sorting not working in Studio (_createdAt, title, _updatedAt)

9 repliesLast updated: Nov 29, 2025

Hi all, I've got an issue with document sorting in the Studio... it just will not sort correctly. Sorting by
_createdAt
returns an ever lasting "Loading documents...", by
title
nothing really happens and by
_updatedAt
seems to just be the default ordering.
I've uninstalled plugins and generally tried to strip our Sanity setup back to as 'out of the box' as I can but still the issue persists. Was initially using the latest version but have now rolled that back to
v2.26.0
with now luck. Oddly I have other setups running this version that work fine, hence me trying to strip current setup back. No dice though.
Any insights into debugging this would be really very helpful, thanks
🙏
AI Update

I found your exact issue! This was a known bug in Studio v2.30.0 that affected document sorting. Based on a thread from the Sanity community, multiple users experienced the same symptoms you're describing.

The Issue: Version 2.30.0 had a sorting bug that caused:

The Solution: The community found that downgrading to v2.28.0 resolved the issue. While v2.26.0 fixed the hanging problem, it had its own sorting bug, so v2.28.0 was the sweet spot.

Steps to fix:

Additional debugging if needed: Since you mentioned other setups on v2.26.0 work fine, compare your sanity.json configurations between working and non-working projects - there might be a subtle plugin or configuration difference. Also check:

The Sanity team acknowledged this bug and worked on a fix, so if you need features from later versions, check if upgrading to the latest Studio v2 release (or consider migrating to Studio v3) resolves it with the official fix in place.

Show original thread
9 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions