title: how to sort, filter json data in ruby?
body: <p>I have a json array that i get back from an api (sample below) . say I want to sort the data based on age, and also select first 5 of them, how can I do this in ruby? </p>
  
  <pre><code>[  
      {"name":"Richard", "email":"r@gmail.com", "age" : "32"},  
      {"name":"Bob", "email":"bob32@gmail.com", "age" : "52"}, 
      ....
  ]  
  </code></pre>