'Redis Sorted Set trends

I'm currently working on implementing a game leaderboard using Redis sorted sets.

My question is whether you can extract any information from the trend. For example, many games show whether you're trending upward or downward like so:

enter image description here

Do Redis sorted sets have the ability to easily return trends? Or does it have any memory of previous ranks which would make this easy to determine? Or would I need to add custom logic to achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source