title: Order a set of results by an externally calculated score
body: <p>I have a site that fetches the ID and SCORE of records for a user from an external source. </p>
  
  <p>I want to then fetch the records that match the ID's, ordered by each ID's SCORE.</p>
  
  <p>The ID's and SCORES come to the app as XML which I'm currently parsing into an array (of hashes):</p>
  
  <pre><code>[{90=&gt;279}, {32=&gt;400}] 
  </code></pre>
  
  <p>How can I use that score to order the records returned?</p>