X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..43f30ac0f9bcc4a7afb06136a8dfe5b703be7935:/doc/SortCommand.html diff --git a/doc/SortCommand.html b/doc/SortCommand.html index 66e40922..8022d53c 100644 --- a/doc/SortCommand.html +++ b/doc/SortCommand.html @@ -16,7 +16,7 @@
-SortCommand: Contents
  SORT _key_ BY _pattern_ LIMIT _start_ _end_ GET _pattern_ ASC|DESC ALPHA
    Return value
    See Also +SortCommand: Contents
    Return value

SortCommand

@@ -26,7 +26,7 @@
-

SORT _key_ BY _pattern_ LIMIT _start_ _end_ GET _pattern_ ASC|DESC ALPHA

+ = SORT key [BY pattern] [LIMIT start count] [GET pattern] [ASC|DESC] [ALPHA] =
Sort the elements contained in the List or Set value at key. By defaultsorting is numeric with elements being compared as double precisionfloating point numbers. This is the simplest form of SORT.
 SORT mylist
@@ -52,8 +52,8 @@ SORT mylist BY weight_* GET object_*
 
Since Redis >= 1.1 it's possible to also GET the list elements itselfusing the special # pattern:
 SORT mylist BY weight_* GET object_* GET #
-

Return value

Multi bulk reply, specifically a list of sorted elements.

See Also

- +

Return value

Multi bulk reply, specifically a list of sorted elements. +