Skip to content

Commit aa31bee

Browse files
committed
#72 - Advanced sorting by creation date doesn't work correctly
- bug fixed, the behavior of `< advanced created` sorting method corrected - new unit tests to cover the scenario
1 parent 6298c08 commit aa31bee

File tree

3 files changed

+100
-148
lines changed

3 files changed

+100
-148
lines changed

docs/syntax-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ Lines starting with `//` are ignored
107107
For extremely large vaults use with caution, as the sorting needs to scan all files inside a folder to determine the folder's modified date
108108
- `> advanced modified` - by modified time reverse, the most recently modified item goes first. For folders, their modification date is derived from the most recently modified direct child file.
109109
For extremely large vaults use with caution, as the sorting needs to scan all files inside a folder to determine the folder's modified date
110-
- `< advanced created` - by created time, the oldest item goes first. For folders, their creation date is derived from the oldest direct child file.
110+
- `< advanced created` - by created time, the oldest item goes first. For folders, their creation date is derived from the oldest (ctime) direct child file.
111111
For extremely large vaults use with caution, as the sorting needs to scan all files inside a folder to determine the folder's created date
112-
- `> advanced created` - by created time reverse, the newest item goes first. For folders, their creation date is derived from the newest direct child file.
112+
- `> advanced created` - by created time reverse, the newest item goes first. For folders, their creation date is derived from the oldest (ctime) direct child file.
113113
For extremely large vaults use with caution, as the sorting needs to scan all files inside a folder to determine the folder's created date
114114

115115
#### At group level only (aka secondary sorting rule)

0 commit comments

Comments
 (0)