Mixed alphabetical sort

approvedunreviewed

by Matt

Sorts files and folders together alphabetically in the file explorer instead of placing folders first.

Updated todayMIT

Mixed alphabetical sort

Reload Obsidian and enable Mixed alphabetical sort under Settings > Community plugins.

Choose File name (A to Z) from the file explorer's sort menu. Files and folders now participate in the same alphabetical order, within each folder:

Apple.md
Banana/
Cherry.md
Dates/

File name (Z to A) reverses this mixed order. Date-based sort modes retain Obsidian's normal behavior. Sorting is case-insensitive and natural, so Note 2 comes before Note 10. Files sort by basename and folders by folder name.

This only changes the sidebar display; no files, folder contents, filenames, or vault settings are changed. New, renamed, and moved entries are sorted by the existing file explorer update mechanism. Disabling the plugin restores folders first immediately.

The plugin uses Obsidian's internal getSortedFolderItems method, verified against the locally installed 1.15.1 implementation. Future Obsidian updates may require an adjustment.

Development

npm ci
npm run check

The build outputs main.js directly beside manifest.json. Tests load that actual built entry point using a simulated Obsidian host.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.