Skip to content

About

Sort date-based folders and files chronologically in Obsidian's File Explorer with locale support, per-folder rules, and configurable period note placement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Chrono Sort

CI

An Obsidian plugin that sorts date-based folders and files chronologically in Obsidian's built-in File Explorer—without modifying any files on disk.

Built upon the display-only CSS Flexbox approach pioneered by Month Folder Order, expanded with full date/period recognition, per-folder include rules, configurable period note placement, and support for all Moment.js locales.

Features

  • Years, quarters, months, weeks, and daily notes — works on both folders and files (Journal/2026/Dec/2026-W49.md, 2026-12-03.md, 2026-Q4.md, Februar 2027, 12月, etc.).
  • Ascending or descending order — configurable globally and per folder rule.
  • Period note placement — place week, month, and quarter notes at the beginning (default) or end of their time period.
  • Flexible include rules — empty list applies to the entire vault; add paths, wildcards, or date-token patterns (Meetings/[MMM]/..., Journal/[YYYY]/..., Journal/[MMM]/[YYYY-MM-DD]) with per-folder sort direction and period placement.
  • 140+ Moment.js locales — uses Obsidian's bundled moment.js at runtime (never bundled into main.js).
  • Non-destructive — purely CSS order styling in the File Explorer; files on disk are never touched.

Documentation

Full user and developer documentation lives in docs/ and is built with Zensical:

npm run docs:serve

Development

npm install
npm run check          # Biome lint + format check
npm run typecheck      # Strict TypeScript check
npm run test:coverage  # Vitest suite (100% coverage enforced)
npm run build          # Production build + verify moment.js not bundled

License

MIT

About

Sort date-based folders and files chronologically in Obsidian's File Explorer with locale support, per-folder rules, and configurable period note placement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages