February 2018
Intermediate to advanced
382 pages
11h 33m
English
We have already learned in Chapter 2, Data Types that elements in a Redis list or set are unordered, and elements in a Redis sorted set are ordered by their scores. Sometimes we may need to get a sorted copy of a Redis list or set in some order, or sort elements in a Redis sorted set by an order other than scores. Redis provides a convenient command called SORT for this purpose. In this recipe, we will take a look at the SORT command and its examples.
Read now
Unlock full access