How to change the "Sort By" fields in Netlify CMS?

netlify netlify cms

Recently, I have added a Netlify CMS to my blog. It has the feature to sort your posts. This is a default behavior:

Default “Sort By” fields in Netlify CMS

I decided to change the list of these fields. I opened my config.yml file for Netlfiy CMS and added this line directly after the fields:

sortable_fields: ['date']

I committed and pushed updates to the repo and got the following:

Customized “Sort By” fields in Netlify CMS

comments powered by Disqus