13 - Feature request: Sort by modification date, treating folder and files equally

- README.md update, adjusted one of examples to use the `> advanced modified` sorting method
This commit is contained in:
SebastianMC 2022-09-26 19:12:15 +02:00
parent afa10afd7d
commit 200333fb31
1 changed files with 4 additions and 3 deletions

View File

@ -359,8 +359,9 @@ the result is:
### Example 12: Apply same sorting to all folders in the vault ### Example 12: Apply same sorting to all folders in the vault
Apply the alphabetical sorting to all folders in the Vault. The alphabetical sorting treats the folders and files equally Apply the same advanced modified date sorting to all folders in the Vault. The advanced modified sorting treats the folders
(which is different from the standard Obsidian sort, which groups folders in the top of File Explorer) and files equally (which is different from the standard Obsidian sort, which groups folders in the top of File Explorer)
The modified date for a folder is derived from its newest direct child file (if any), otherwise a folder is considered old
This involves the wildcard suffix syntax `*` which means _apply the sorting rule to the specified folder This involves the wildcard suffix syntax `*` which means _apply the sorting rule to the specified folder
and all of its subfolders, including descendants. In other words, this is imposing a deep inheritance and all of its subfolders, including descendants. In other words, this is imposing a deep inheritance
@ -371,7 +372,7 @@ Applying the wildcard suffix to root folder path `/*` actually means _apply the
--- ---
sorting-spec: | sorting-spec: |
target-folder: /* target-folder: /*
< a-z > advanced modified
--- ---
``` ```