title: How to store sorted set of objects in redis?
body: <p>I would like to know how to store a list of objects in Redis. That is I have a key like this.</p>
  
  <pre><code>users:pro
  { 
  name: "Bruce", age: "20", score: 100,
  name: "Ed", age: "22", score: 80
  }
  </code></pre>
  
  <p>Where I will want to store a list of hashes as value of a particular key. I would like to use the <code>score</code> field as the score field in the sorted set. How could I accomplish this?</p>
  
  <p>I have seen writing a putting a single hash for a key, but what if I want multiple hashes and one of the hash fields must act as a score field for the sorted set?</p>