
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGood news! You're not limited to just using an order ID field. Sanity has an official plugin called Orderable Document List that lets you drag and drop documents to reorder them directly in the Studio.
Install the plugin with:
npm i @sanity/orderable-document-listOnce installed and configured, you'll be able to manually reorder documents by dragging them up or down in your document list. The plugin manages this behind the scenes using an orderRank field, so you don't have to manually maintain order IDs yourself.
Use the Orderable Document List plugin when:
Use a manual order field with orderBy when:
The plugin is definitely the more user-friendly option for most cases where you need manual ordering. It's maintained by the Sanity team and works well with Studio v3. The ordering it creates can also be queried from your frontend applications, so the order you set in Studio will be reflected on your site.
Before this plugin existed, people had to use workarounds like wrapper documents with reference arrays or manual order fields, but the plugin streamlines the whole process considerably. You can find more details in the plugin documentation.
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.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store