Skip to content
Discussion options

You must be logged in to vote

Summary

In a nutshell: the sorting direction specification (e.g. <, >, asc:, desc:, order-asc:, ...) is required only at the beginning of a line, to recognize the line as a sorting specification - no direction specification at the beginning of a line results in treating the line as a regular group definition to match files and/or folder.

For the same reason, the secondary sorting specification doesn't need the sorting direction prefix - if the order prefix is not provided, the ascending direction is assumed.

Relevant examples

Syntax error because a nested sorting specification requires prior group definition

Note the additional indentation in > modified, created

---
sorting-spec: |
  tar…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SebastianMC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Investigation Need to examine what hides under the hood
1 participant
Converted from issue

This discussion was converted from issue #231 on September 02, 2025 10:27.