sanity-io / orderable-document-list

Drag-and-drop Document Ordering without leaving the Editing surface
MIT License
75 stars 22 forks source link

Explain `orderings` in the schema. It's not clear. #31

Closed surjithctly closed 2 years ago

surjithctly commented 2 years ago

In the docs, it says:

// Optional: The plugin also exports a set of 'orderings' for use in other Document Lists
  orderings: [orderRankOrdering],

But what does this code actually do? What if I did not add this? Please clarify this option as it's not understandable.

SimeonGriggs commented 2 years ago

Fair point, have added a link to https://www.sanity.io/docs/sort-orders above that line.