Description Usage Arguments Details Value Author(s) References
Sort a list, set or sorted set (zset).
| 1 2 | 
| key | The key name of the list, set or zset to be sorted. | 
| decreasing | Set the direction of the sort. | 
| alpha | Lexicographically sort if true, otherwise try numeric sorting. | 
| by | The BY option takes a pattern that is used in order to generate the key names of the weights used for sorting. Weight key names are obtained substituting the first occurrence of * with the actual value of the elements on the list. See the Redis documentation for examples. | 
| start | Starting index of the sort. | 
| count | Number of entries past start to use for the sort. | 
| get | Retrieve external keys. See the Redis documentation. | 
| store | Store the results in the specified key. | 
| ... |  Optional additional arguments.  Specify  | 
Sort the elements contained in the List, Set, or Sorted Set value at key. By default sorting is numeric with elements being compared as double precision floating point numbers.
A list of sorted values, unless store is specified in which case 
the results are stored in the specified key and TRUE is returned.
B. W. Lewis
http://redis.io/commands
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.