obsidian-sort-and-permute-lines
obsidian-sort-and-permute-lines copied to clipboard
Automatically sort lists when a new list item is created, or when one is changed.
Let's say I have this list
- A
- F
- B and I add "C" to the top of the list. I would like it to be moved to below B, and for F to move below C, sorting the entire list automatically.
And when I check off an item on the list, it automatically goes to the bottom, and any checked boxes that aren't on the bottom go there. There could be settings in the plugin to automatically sort alphabetically and or by checkbox status, recursively or non recursively.
There could also be a setting to check for frontmatter, and have the plugin be opt in or opt out on certain pages. Like, if there was a setting on to automatically sort, there could be a frontmatter like this:
---
disable-sorting: true
---
and vice versa.
This would be a lovely feature.