master
Joey Hess 2010-04-02 17:37:38 -04:00
parent 9e7dcefd7e
commit 1faf9b08e1
1 changed files with 8 additions and 0 deletions

View File

@ -63,6 +63,14 @@ NIH'd sorting mechanisms:
>>>> is required to have params. They should be optional,
>>>> to match the documentation and because most sort methods
>>>> do not need parameters.
>>>>
>>>> I wonder if it would make sense to add some combining keywords, so
>>>> a sortspec reads like `sort="age then ascending title"`
>>>> In a way, this reduces the amount of syntax that needs to be learned.
>>>> I like the "then" (and it could allow other operations than
>>>> simple combination, if any others make sense). Not so sure about the
>>>> "ascending", which could be "reverse" instead, but "descending age" and
>>>> "ascending age" both seem useful to be able to explicitly specify.
>>>> --[[Joey]]
## Documentation from sort-hooks branch