 <p>Since you need to start from most recently objects, you need to reverce your array:</p> <pre><code>myArray = myArray.sort_by { |obj| obj['date'] }.reverse </code></pre> <p>In Ruby more recent date is greater then less recent:</p> <pre><code>Date.today &gt; Date.today - 2 =&gt; true </code></pre>