1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 15:24:50 +00:00

Add information regarding operands for sort* operators

This commit is contained in:
Xavier Cazin 2014-07-18 14:46:31 +02:00
parent 1b6a593b71
commit 608999a97a
4 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: nsort title: FilterOperator: nsort
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
The ''nsort'' filter operator sorts the current list as numeric values. String values are sorted case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order. The ''nsort'' filter operator sorts the current list as numeric values, along the field specified in the operand (which defaults to `title`). String values are sorted case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order.
For example: For example:

View File

@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: nsortcs title: FilterOperator: nsortcs
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
The ''nsortcs'' filter operator sorts the current list as numeric values. String values are sorted case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order. The ''nsortcs'' filter operator sorts the current list as numeric values, along the field specified in the operand (which defaults to `title`). String values are sorted case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order.
For example: For example:

View File

@ -4,7 +4,7 @@ tags: filters commonfilters
title: FilterOperator: sort title: FilterOperator: sort
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
The ''sort'' filter operator sorts the current list case insensitively (upper and lower case letters are considered equivalent). Preceding the operator with `!` reverses the sort order. 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: For example:
@ -12,4 +12,6 @@ For example:
|`one two three four +[sort[]]` |Returns `four`, `one`, `three`, `two` | |`one two three four +[sort[]]` |Returns `four`, `one`, `three`, `two` |
|`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]]. See also [[FilterOperator: nsort]], [[FilterOperator: sortcs]] and [[FilterOperator: nsortcs]].

View File

@ -4,7 +4,7 @@ tags: filters
title: FilterOperator: sortcs title: FilterOperator: sortcs
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
The ''sortcs'' filter operator sorts the current list case sensitively (upper and lower case letters are considered different). Preceding the operator with `!` reverses the sort order. The ''sortcs'' filter operator sorts the current list case sensitively (upper and lower case letters are considered different), along the field specified in the operand (which defaults to `title`). Preceding the operator with `!` reverses the sort order.
For example: For example: