mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-20 19:29:43 +00:00
19 lines
776 B
Plaintext
19 lines
776 B
Plaintext
created: 20140410103123179
|
|
modified: 20140410103123179
|
|
tags: Filters CommonFilters
|
|
title: FilterOperator: sort
|
|
caption: sort
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The ''sort'' filter operator sorts the current list case insensitively (upper and lower case letters are considered equivalent), along the field specified in the operand (which defaults to `title`). Preceding the operator with `!` reverses the sort order.
|
|
|
|
For example:
|
|
|
|
|!Filter String |!Description |
|
|
|`one two three four +[sort[]]` |Returns `four`, `one`, `three`, `two` |
|
|
|`one two Three four +[sort[]]` |Returns `four`, `one`, `Three`, `two` |
|
|
|
|
For an example of use with explicit operands, see [[FilterOperator: limit]].
|
|
|
|
See also [[FilterOperator: nsort]], [[FilterOperator: sortcs]] and [[FilterOperator: nsortcs]].
|