Drag and drop ordering of content in Sanity.io discussed, with suggestions for implementation.

6 replies
Last updated: Jan 28, 2026
Also need to know wether you can re-order content via drag ‘n’ drop, any ideas on that?
AI Update

Yes! Sanity supports drag-and-drop reordering through the official Orderable Document List plugin.

You can install it with:

npm i @sanity/orderable-document-list

This plugin lets content editors drag and drop documents to reorder them directly within the Studio interface. It works by managing an orderRank field behind the scenes, so the ordering persists and can be queried from your frontend applications.

This is much more user-friendly than the old workarounds people used to use, like manually adjusting numerical order fields or creating wrapper documents with reference arrays. The plugin is particularly great for smaller to medium-sized document collections where manual ordering makes sense.

Important note: The built-in sort orders you can configure in Studio (like sorting by date or title) only affect how documents appear within the Studio itself - they don't automatically carry over to your frontend. The Orderable Document List plugin solves this by creating ordering data you can actually query and use in your application.

If you're also interested in visual editing capabilities, Sanity also has Visual Editing features that include drag-and-drop functionality for real-time content editing with live preview overlays.

Show original thread
6 replies

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.

Was this answer helpful?