In this article, based on chapter 8 of Redis in Action, author Josiah Carlson talks about Twitter user and status objects, which are the basis of almost all of the information in our application, and then deleting posts, which involves manipulating followers/following lists.
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)