Nikolai25 downloadsAutomatically sort daily notes and files by date in the file explorer. Supports multiple date formats (YYYY-MM-DD, DD.MM.YYYY, DD.MM.YY, MM/DD/YYYY) and flexible folder configuration.
An Obsidian plugin that allows you to automatically sort daily notes by date in the file explorer.
Requires Obsidian 1.1.0 or newer (see manifest.json → minAppVersion).
Tired of your daily notes jumping out of order? When your note names consist of a date (for example, 15.01.2024, 01/15/2024), Obsidian’s file explorer often can’t sort them chronologically. Daily Notes Sorter understands popular regional date formats and keeps your notes exactly where you expect them—newest first or oldest first, on demand.
Curious how it works in practice? In this short clip, you’ll see how to add a folder, pick the date format, and toggle the sort to instantly re-order your daily notes:
YYYY-MM-DD (ISO format, e.g.: 2024-01-15)DD.MM.YYYY (European format, e.g.: 15.01.2024)DD.MM.YY (European short format, e.g.: 15.01.24)MM/DD/YYYY (US format, e.g.: 01/15/2024)DD-MM-YYYY, DD MM YYYY, YYYY.MM.DD, MM-DD-YYYY. Multiple or mixed separators (e.g., 15--01--2024, 15-01_2024) will not match.2024 Sept. 9, 15 Aug 2024). Month names follow a fixed locale list in the plugin (English by default), not your OS language, so behavior stays the same when the same vault is opened on different machines.https://github.com/Reifat/daily-notes-sorter/releases/latestscripts/install/env-example/install-config.env into the root of the plugin folder (next to README.md).install-config.env and set:DEST_DIR — absolute path to your vault’s plugin folder, e.g. /path/to/YourVault/.obsidian/plugins/daily-notes-sorterRELEASE_TAG — the release tag you want to install (e.g. 1.0.1)bash scripts/install/install.sh (make executable if needed: chmod +x scripts/install/install.sh scripts/install/install.command)scripts\install\install.batscripts/install/install.commandNotes:
xattr -r -d com.apple.quarantine scripts/install.bat files do not require execution permissions; ensure the file isn’t blocked in Properties if SmartScreen warns.For developers: Technical documentation, including plugin architecture, technical details, development instructions, and implementation details, can be found in
src/README.md.
Date format at the beginning of file name: The plugin only searches for dates at the beginning of file names. If the date is in the middle or end of the name, it will not be recognized.
Files only: The plugin sorts only files (TFile), folders remain in their places.
FileExplorer dependency: The plugin requires the built-in "Files" (FileExplorer) plugin to be enabled.
One format per folder: Each folder can have only one date format. If a folder contains files with different date formats, they may be sorted incorrectly.
MIT
Nick (GitHub: @Reifat)
If you found a bug or have a suggestion for improvement, please create an issue in the project repository.