Are your specifications in the frontmatter of sortspec.md? It seems like most of examples have placed them in the frontmatter, and that your example is in the main text.
//
// A simple configuration for obsidian-custom-sort plugin
// (https://github.com/SebastianMC/obsidian-custom-sort)
// It causes the plugin to take over the control of the order of items in the root folder ('/') of the vault
// It explicitly sets the sorting to descending ('>') alphabetical ('a-z')
// Folders and files are treated equally by the plugin (by default) so expect them intermixed
// in the root vault folder after enabling the custom sort plugin
//
// To play with more examples go to https://github.com/SebastianMC/obsidian-custom-sort#readme
sorting-spec: |
target-folder: /
Projects
Areas
Responsibilities
Archive
And this is the version with the specifications at the top. Still nothing. Is this what you mean when you say putting specifications in the front matter of sortspec.md?
sorting-spec: |
target-folder: /
Projects
Areas
Responsibilities
Archive
//
// A simple configuration for obsidian-custom-sort plugin
// (https://github.com/SebastianMC/obsidian-custom-sort)
// It causes the plugin to take over the control of the order of items in the root folder ('/') of the vault
// It explicitly sets the sorting to descending ('>') alphabetical ('a-z')
// Folders and files are treated equally by the plugin (by default) so expect them intermixed
// in the root vault folder after enabling the custom sort plugin
//
// To play with more examples go to https://github.com/SebastianMC/obsidian-custom-sort#readme
So it should look like this then, righ? If so I still can’t get it to work. I’m still getting this error
---
sorting-spec: |
target-folder: /
Projects
Areas
Responsibilities
Archive
---
//
// A simple configuration for obsidian-custom-sort plugin
// (https://github.com/SebastianMC/obsidian-custom-sort)
// It causes the plugin to take over the control of the order of items in the root folder ('/') of the vault
// It explicitly sets the sorting to descending ('>') alphabetical ('a-z')
// Folders and files are treated equally by the plugin (by default) so expect them intermixed
// in the root vault folder after enabling the custom sort plugin
//
// To play with more examples go to https://github.com/SebastianMC/obsidian-custom-sort#readme
You’re slowly getting there, but you need to take care and read the instruction text better, and preserve the examples as is, and not modify them as you’ve done here.
In particular, you need to respect the spaces in front of the various keywords. Spaces matter significantly to get it up and running.
As @holroy already said, spaces matter! The example you have copied and pasted is referred to in this use case - here you can see the indentation (4 spaces, respectively).