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.
60%
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
2 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

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.

Number Headings

Automatically number or re-number headings.

Advanced Canvas

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

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Meta Bind

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

Commander

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

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.

Easy Typing

Auto format when typing.

Admonition

Admonition block-styled content.

Note Toolbar

Add customizable toolbars to your notes.