The ability to sort results by referencing data stored in HASHes works well when you have a string or number that represents the actual sort order you are interested in. But what if your sort order could be a composite of a few different scores? In this article based on chapter 7 of Redis in Action, you’ll learn about ways to combine multiple scores using SETs and ZSETs, which can offer greater flexibility than calling SORT.

Sorted Indexes (PDF)