- Sort alphabetically
- Sort by length of line
- Reverse line order
- Shuffle line order
- Sort headings while preserving parents
You can either just call a command (via Ctrl + P
(or Cmd + P
on macOS)) and the whole file will be changed, or select text and then call a command to just change that range.
Custom plugins are only available for Obsidian v0.9.7+.
- Open settings -> Third party plugin
- Disable Safe mode
- Click Browse community plugins
- Search for "Sort & Permute lines"
- Install it
- Activate it under Installed plugins
- Download the latest release
- Move
manifest.json
andmain.js
to<vault>/.obsidian/plugins/obsidian-sort-and-permute-lines
- Go to settings and disable safe mode
- Enable
Sort & Permute lines
If you find this plugin useful and would like to support its development, you can support me on Ko-fi.