Sort and Permute lines
approvedby Vinzent
Sort and Permute lines in whole file or selection.
★ 124 stars↓ 62,281 downloadsUpdated 20d agoMIT
Sort and Permute lines
Features
- Sort alphabetically
- Sort by length of line
- Reverse line order
- Shuffle line order
- Sort headings while preserving parents
How to use
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.

Installing
From Obsidian
- Open settings -> Third party plugin
- Disable Safe mode
- Click Browse community plugins
- Search for "Sort and Permute lines"
- Install it
- Activate it under Installed plugins
From GitHub
- Download the latest release
- Move
manifest.jsonandmain.jsto<vault>/.obsidian/plugins/obsidian-sort-and-permute-lines - Go to settings and disable restricted mode
- Enable
Sort and Permute lines
If you find this plugin useful and would like to support its development, you can support me on Ko-fi.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.