Request to add a sorting option when including folders through the *include syntax
Details
When including a set of folder using the *include syntax, they are added to the nav in lexicographic (default order of ls, I think).
I'd like to have some way to sort the entries in a different order, a couple of simple flags should be enough.
Proposal
Just as an example, I can suggest something like this:
Summary
Request to add a sorting option when including folders through the
*include
syntaxDetails
When including a set of folder using the
*include
syntax, they are added to the nav in lexicographic (default order ofls
, I think). I'd like to have some way to sort the entries in a different order, a couple of simple flags should be enough.Proposal
Just as an example, I can suggest something like this:
Where
-n
means using numerical order and-r
means reverse order (same flags asls
)