Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Sort and Permute lines

VinzentVinzent67k downloads

Sort and Permute lines in whole file or selection.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates17
  • 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.

Demo

Installing

From Obsidian

  1. Open settings -> Third party plugin
  2. Disable Safe mode
  3. Click Browse community plugins
  4. Search for "Sort and Permute lines"
  5. Install it
  6. Activate it under Installed plugins

From GitHub

  1. Download the latest release
  2. Move manifest.json and main.js to <vault>/.obsidian/plugins/obsidian-sort-and-permute-lines
  3. Go to settings and disable restricted mode
  4. 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.

HealthExcellent
ReviewSatisfactory
About
Sort lines alphabetically, by length, reverse their order, or shuffle them. Sort headings while preserving parent hierarchy and apply changes to the whole file or a selected range.
EditingFormattingCommands
Details
Current version
0.8.0
Last updated
2 months ago
Created
6 years ago
Updates
17 releases
Downloads
67k
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
VinzentVinzentvinzent03
github.com/Vinzent03
GitHubvinzent03
  1. Community
  2. Plugins
  3. Editing
  4. Sort and Permute lines

Related plugins

Heading Shifter

Easily Shift and Change Markdown headings.

Paste URL into selection

Paste URL "into" selected text.

Keyshots

Add classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.

List Callouts

Create simple callouts in lists.

Vimrc Support

Auto-load a startup file with Vim commands.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)