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 Frontmatter

mariomuimariomui2k downloads

Sort frontmatter recursively.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

This plugin is created for the ObsidianMD-app. Its goal is to recursively sort through the frontmatter so that the properties are alphabetical. It will sort through objects, array, and its nested inhabitants up to 5 levels.

Implementation

See [[README_DEV.md]] for a walkthrough on the technical side. As far as usage is concerned, the procedure is as follows:

  • Open up the Command Pallet
  • Type Sort Frontmatter and activate.
  • The current file on the screen will have its frontmatter sorted.

Tradeoffs

  • I avoid Settings Tab and Ribbon bar because it simplifies the plugin (unix principles) but it also means that it is less apparent to new users. The benefits, however, outweigh the cons--not having to deal with manually removing unwanted ribbon icons or with absentmindedly forgetting on of the 40+ settings in your app lessens [[cognitive-load]] to more than minimal degree.
HealthFair
ReviewCaution
About
Sort frontmatter properties alphabetically across objects, arrays, and nested structures up to five levels deep. Apply to the current note to standardize and tidy YAML metadata.
PropertiesFormattingCommands
Details
Current version
1.0.24
Last updated
3 years ago
Created
3 years ago
Updates
5 releases
Downloads
2k
Compatible with
Obsidian 1.0.20+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
mariomuimariomui
GitHubmariomui
  1. Community
  2. Plugins
  3. Properties
  4. Sort Frontmatter

Related plugins

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Permalink Opener

Open URLs based on a permalink or slug in the note properties. Useful with static site generators such as Jekyll, Hugo, Eleventy, etc.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Meta Bind

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

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

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.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Note Toolbar

Add customizable toolbars to your notes.

Admonition

Admonition block-styled content.