As mega said you need to add all users to a sorted set called users:reputation. So go through all your users and add their user ids to users:reputation with the score being their reputation.