Closed fischgeek closed 1 year ago
Hi @fischgeek
sorting by metadata value has been already supported as a result of feature request #23 Simple documentation of that feature is available in #23 and also in example 14 of advanced-manual
For the metadata from your example:
sort-title: 'awesome note'
the simplest sorting specification to order by metadata in the root vault folder looks like:
---
sorting-spec: |
target-folder: /
< a-z by-metadata: sort-title
---
Entries in root folder not having the sort-title
metadata will land below these with the metadata.
Grouping by metadata is also supported, if you want consciously handle the cases of different metadata fields and/or order items with and without metadata in the same folder.
For other questions in your message:
target-folder:
syntax, yet this is not what you are asking for Let me know if you have more questions
Thanks so much for the detailed reply @SebastianMC! I'm going to try the meta-data sort right now!
The plugin won't install for me. Just fails with no reason.
Please try now, the 1.8.2 version is correctly published on github. I messed up the version numbers in the relevant json files vs the release package content and tags.
Perfect! Thank you!
Is it possible with this to exclude a string or specific chars or just allow regex patterns to sort the list?
A quick example would be,
the
Or, even better, have it sort based on meta-data within the note with a
sort-title
key/value pair.