├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github ├── funding.yml └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── .npmrc ├── LICENSE.md ├── README.md ├── docs ├── advanced-README.md ├── examples │ ├── 1 │ │ └── sortspec.md │ ├── 5 │ │ └── sortspec.md │ ├── basic │ │ └── sortspec.md │ └── quickstart │ │ └── sortspec.md ├── icons │ ├── icon-active.png │ ├── icon-error.png │ ├── icon-general-error.png │ ├── icon-inactive.png │ ├── icon-mobile-initial.png │ ├── icon-not-applied.png │ └── parsing-succeeded.png ├── img │ ├── different-sorting-order-per-folder.png │ ├── separators-by-replete.png │ ├── sortspec-md-bright.jpg │ └── sortspec-md-dark.jpg ├── manual.md ├── svg │ ├── by-suffix.svg │ ├── files-go-first.svg │ ├── multi-folder.svg │ ├── p_a_r_a.svg │ ├── pin-focus-note.svg │ ├── priorities-example-a.svg │ ├── priorities-example-b.svg │ ├── roman-chapters.svg │ ├── roman-suffix.svg │ ├── simplest-example-2.svg │ ├── simplest-example-3.svg │ ├── simplest-example.svg │ ├── syntax-1.svg │ ├── syntax-2.svg │ ├── syntax-3.svg │ └── syntax-4.svg └── syntax-reference.md ├── esbuild.config.mjs ├── jest.config.js ├── manifest.json ├── package.json ├── src ├── custom-sort-plugin.ts ├── custom-sort │ ├── custom-sort-types.ts │ ├── custom-sort-utils.ts │ ├── custom-sort.ts │ ├── folder-matching-rules.ts │ ├── icons.ts │ ├── macros.ts │ ├── matchers.ts │ ├── mdata-extractors.ts │ └── sorting-spec-processor.ts ├── main.ts ├── settings.ts ├── test │ ├── int │ │ ├── dates-in-names.int.test.ts │ │ └── folder-dates.int.test.ts │ ├── mocks.ts │ └── unit │ │ ├── BookmarksCorePluginSignature.spec.ts │ │ ├── custom-sort-getComparator.spec.ts │ │ ├── custom-sort-utils.spec.ts │ │ ├── custom-sort.spec.ts │ │ ├── folder-matching-rules.spec.ts │ │ ├── macros.spec.ts │ │ ├── matchers.spec.ts │ │ ├── mdata-extractors.spec.ts │ │ ├── sorting-spec-processor.spec.ts │ │ ├── utils.spec.ts │ │ └── week-of-year.spec.ts ├── types │ └── types.d.ts └── utils │ ├── Bookmarks Core Plugin integration design.md │ ├── BookmarksCorePluginSignature.ts │ ├── ObsidianIconFolderPluginSignature.ts │ ├── utils.ts │ └── week-of-year.ts ├── styles.css ├── tsconfig.json ├── version-bump.mjs ├── versions.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | main.js 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/funding.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/.github/funding.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | tag-version-prefix="" -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/README.md -------------------------------------------------------------------------------- /docs/advanced-README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/advanced-README.md -------------------------------------------------------------------------------- /docs/examples/1/sortspec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/examples/1/sortspec.md -------------------------------------------------------------------------------- /docs/examples/5/sortspec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/examples/5/sortspec.md -------------------------------------------------------------------------------- /docs/examples/basic/sortspec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/examples/basic/sortspec.md -------------------------------------------------------------------------------- /docs/examples/quickstart/sortspec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/examples/quickstart/sortspec.md -------------------------------------------------------------------------------- /docs/icons/icon-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-active.png -------------------------------------------------------------------------------- /docs/icons/icon-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-error.png -------------------------------------------------------------------------------- /docs/icons/icon-general-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-general-error.png -------------------------------------------------------------------------------- /docs/icons/icon-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-inactive.png -------------------------------------------------------------------------------- /docs/icons/icon-mobile-initial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-mobile-initial.png -------------------------------------------------------------------------------- /docs/icons/icon-not-applied.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/icon-not-applied.png -------------------------------------------------------------------------------- /docs/icons/parsing-succeeded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/icons/parsing-succeeded.png -------------------------------------------------------------------------------- /docs/img/different-sorting-order-per-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/img/different-sorting-order-per-folder.png -------------------------------------------------------------------------------- /docs/img/separators-by-replete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/img/separators-by-replete.png -------------------------------------------------------------------------------- /docs/img/sortspec-md-bright.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/img/sortspec-md-bright.jpg -------------------------------------------------------------------------------- /docs/img/sortspec-md-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/img/sortspec-md-dark.jpg -------------------------------------------------------------------------------- /docs/manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/manual.md -------------------------------------------------------------------------------- /docs/svg/by-suffix.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/by-suffix.svg -------------------------------------------------------------------------------- /docs/svg/files-go-first.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/files-go-first.svg -------------------------------------------------------------------------------- /docs/svg/multi-folder.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/multi-folder.svg -------------------------------------------------------------------------------- /docs/svg/p_a_r_a.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/p_a_r_a.svg -------------------------------------------------------------------------------- /docs/svg/pin-focus-note.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/pin-focus-note.svg -------------------------------------------------------------------------------- /docs/svg/priorities-example-a.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/priorities-example-a.svg -------------------------------------------------------------------------------- /docs/svg/priorities-example-b.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/priorities-example-b.svg -------------------------------------------------------------------------------- /docs/svg/roman-chapters.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/roman-chapters.svg -------------------------------------------------------------------------------- /docs/svg/roman-suffix.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/roman-suffix.svg -------------------------------------------------------------------------------- /docs/svg/simplest-example-2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/simplest-example-2.svg -------------------------------------------------------------------------------- /docs/svg/simplest-example-3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/simplest-example-3.svg -------------------------------------------------------------------------------- /docs/svg/simplest-example.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/simplest-example.svg -------------------------------------------------------------------------------- /docs/svg/syntax-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/syntax-1.svg -------------------------------------------------------------------------------- /docs/svg/syntax-2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/syntax-2.svg -------------------------------------------------------------------------------- /docs/svg/syntax-3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/syntax-3.svg -------------------------------------------------------------------------------- /docs/svg/syntax-4.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/svg/syntax-4.svg -------------------------------------------------------------------------------- /docs/syntax-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/docs/syntax-reference.md -------------------------------------------------------------------------------- /esbuild.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/esbuild.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/jest.config.js -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/manifest.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/package.json -------------------------------------------------------------------------------- /src/custom-sort-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort-plugin.ts -------------------------------------------------------------------------------- /src/custom-sort/custom-sort-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/custom-sort-types.ts -------------------------------------------------------------------------------- /src/custom-sort/custom-sort-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/custom-sort-utils.ts -------------------------------------------------------------------------------- /src/custom-sort/custom-sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/custom-sort.ts -------------------------------------------------------------------------------- /src/custom-sort/folder-matching-rules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/folder-matching-rules.ts -------------------------------------------------------------------------------- /src/custom-sort/icons.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/icons.ts -------------------------------------------------------------------------------- /src/custom-sort/macros.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/macros.ts -------------------------------------------------------------------------------- /src/custom-sort/matchers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/matchers.ts -------------------------------------------------------------------------------- /src/custom-sort/mdata-extractors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/mdata-extractors.ts -------------------------------------------------------------------------------- /src/custom-sort/sorting-spec-processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/custom-sort/sorting-spec-processor.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/settings.ts -------------------------------------------------------------------------------- /src/test/int/dates-in-names.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/int/dates-in-names.int.test.ts -------------------------------------------------------------------------------- /src/test/int/folder-dates.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/int/folder-dates.int.test.ts -------------------------------------------------------------------------------- /src/test/mocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/mocks.ts -------------------------------------------------------------------------------- /src/test/unit/BookmarksCorePluginSignature.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/BookmarksCorePluginSignature.spec.ts -------------------------------------------------------------------------------- /src/test/unit/custom-sort-getComparator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/custom-sort-getComparator.spec.ts -------------------------------------------------------------------------------- /src/test/unit/custom-sort-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/custom-sort-utils.spec.ts -------------------------------------------------------------------------------- /src/test/unit/custom-sort.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/custom-sort.spec.ts -------------------------------------------------------------------------------- /src/test/unit/folder-matching-rules.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/folder-matching-rules.spec.ts -------------------------------------------------------------------------------- /src/test/unit/macros.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/macros.spec.ts -------------------------------------------------------------------------------- /src/test/unit/matchers.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/matchers.spec.ts -------------------------------------------------------------------------------- /src/test/unit/mdata-extractors.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/mdata-extractors.spec.ts -------------------------------------------------------------------------------- /src/test/unit/sorting-spec-processor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/sorting-spec-processor.spec.ts -------------------------------------------------------------------------------- /src/test/unit/utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/utils.spec.ts -------------------------------------------------------------------------------- /src/test/unit/week-of-year.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/test/unit/week-of-year.spec.ts -------------------------------------------------------------------------------- /src/types/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/types/types.d.ts -------------------------------------------------------------------------------- /src/utils/Bookmarks Core Plugin integration design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/utils/Bookmarks Core Plugin integration design.md -------------------------------------------------------------------------------- /src/utils/BookmarksCorePluginSignature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/utils/BookmarksCorePluginSignature.ts -------------------------------------------------------------------------------- /src/utils/ObsidianIconFolderPluginSignature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/utils/ObsidianIconFolderPluginSignature.ts -------------------------------------------------------------------------------- /src/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/utils/utils.ts -------------------------------------------------------------------------------- /src/utils/week-of-year.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/src/utils/week-of-year.ts -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/styles.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/tsconfig.json -------------------------------------------------------------------------------- /version-bump.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/version-bump.mjs -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/versions.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianMC/obsidian-custom-sort/HEAD/yarn.lock --------------------------------------------------------------------------------