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

Explorer Sort

VladVlad628 downloads

Manually arrange files and folders in the file explorer with a custom order per folder.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that lets you manually arrange files and folders in the file explorer, giving each folder its own custom order instead of the built-in alphabetical/date sorting.

Features

  • Per-folder custom order — every folder (including the vault root) can have its own arrangement. Folders without a custom order keep Obsidian's default sorting.
  • Right-click to move — the file explorer context menu gains Move up, Move down, Move to top, and Move to bottom.
  • Drag-and-drop reordering — Reorder folder contents… opens a modal where you drag items into place (with up/down buttons as a fallback), then save.
  • Commands & hotkeys — move the active file up/down/top/bottom or open the reorder modal from the command palette; bind hotkeys to any of them.
  • Survives renames and moves — custom orders are updated automatically when you rename, move, or delete files and folders.
  • New files land at the bottom — items without a saved position are appended after the custom-ordered ones, in Obsidian's default order.
  • Toggle on/off — disable custom sorting at any time from settings or via the Toggle custom sorting command; your saved orders are kept.

Installation (manual)

  1. Build the plugin (see below) or grab main.js, manifest.json, and styles.css.
  2. Create the folder <your vault>/.obsidian/plugins/explorer-sort/.
  3. Copy main.js, manifest.json, and styles.css into that folder.
  4. In Obsidian, go to Settings → Community plugins, refresh the list, and enable Explorer Sort.

Building from source

npm install
npm run build   # produces main.js

For development with automatic rebuilds:

npm run dev

Usage

  1. Right-click any file or folder in the file explorer.
  2. Use Move up / Move down / Move to top / Move to bottom for quick adjustments, or Reorder folder contents… to drag everything into place at once.
  3. To go back to Obsidian's default sorting for a folder, open the reorder modal and click Reset to default sorting — or clear everything from the plugin settings.

How it works

The plugin wraps the file explorer's internal sorting function. When a folder has a saved order, its children are displayed in that order; the order itself is stored in the plugin's data.json as a list of item names per folder path. Because it hooks sorting rather than the DOM, it plays nicely with collapsing/expanding folders and vault changes.

Note: this relies on an internal (non-public) Obsidian API, as all custom-sorting plugins do. If a future Obsidian update changes the explorer internals, the plugin will log a warning and fall back to default sorting rather than break your vault.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Arrange files and folders manually in the file explorer with per-folder custom ordering that replaces alphabetical/date sorting. Use right-click commands or a drag-and-drop reorder modal (with commands and hotkeys) to move items and preserve orders across renames or moves. Append new items to the bottom and toggle custom sorting on or off.
FoldersFilesSidebar
Details
Current version
1.0.1
Last updated
4 weeks ago
Created
4 weeks ago
Updates
2 releases
Downloads
628
Compatible with
Obsidian 1.2.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
VladVladstrayvlad
GitHubvladb-evs
  1. Community
  2. Plugins
  3. Folders
  4. Explorer Sort

Related plugins

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Hide Folders

Quickly toggle the visibility of specific folders in the file navigator based on configured names. Useful for hiding attachment folders.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.