Sanity Studio v5.17.0: New null/undefined sorting control, additional fixes, and improvements
This release adds control over where null values appear in sorted results and fixes issues with tag input display, file asset drag-and-drop menus, and datetime input number entry.
Sort orderings now supports a nulls option to control where null/undefined values appear in results.
Defaults are unchanged and still:
desc -> nulls firstasc -> nulls lastdefineType({
name: 'book',
type: 'document',
orderings: [
{
title: 'Publication year',
name: 'publicationYear',
by: [
{
field: 'publicationYear',
direction: 'desc',
nulls: 'last'
}
],
},
],
// ...
})
Note that overriding the default may have performance implications and negatively impact loading times for document types with lots of documents.
advancedVersionControl.enabled configuration to true. More details and documentation will be published as this tool matures.Fetched April 11, 2026