How to Change a Post's Position in the Object of Posts
| order(order asc)*[_type == "post" && references(*[ title == "frontpage" ]._id )]orderRank. Here's the example from the plugin's docs:
*[_type == "category"]|order(orderRank)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.