title: Ruby maintain Hash insertion order
body: <p>I am looking for a way to maintain the insert order for a Hash that I am using in Ruby. My data is coming from a database and is already grouped/ordered the way I want it, but Ruby doesn't guarantee maintained order in Hashs in my version <code>1.8.4</code>.</p>
  
  <p>Is there any workaround for this? If not is there a way I could create a custom comparator? </p>
  
  <p>Here is the Hash:</p>
  
  <pre><code>{
  "February"=&gt;[0.5667, 14.6834, 79.7666, 261.8668, 342.1167, 723.517], 
  "March"=&gt;[0.0, 26.4667, 554.45, 681.3164, 2376.0668, 10353.0358], 
  "May"=&gt;[2.75, 34.6666, 342.1831, 1331.8999, 1589.617, 9282.9662], 
  "July"=&gt;[1.9, 2.3666, 59.45, 302.1501, 554.1652, 5195.0839], 
  "June"=&gt;[0.15, 24.2166, 244.1498, 335.6834, 536.067, 1498.949], 
  "August"=&gt;[0.0, 0.4, 9.3668, 30.7164, 67.7504, 162.0337], 
  "April"=&gt;[0.0, 8.3, 68.9331, 357.9168, 815.9662, 2870.217]
   }
  </code></pre>
  
  <p>Any ideas would be great,
  Thanks</p>