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.

Meta Bind

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

Advanced Canvas

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

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.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Admonition

Admonition block-styled content.

Note Toolbar

Add customizable toolbars to your notes.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.