title: Array Sorting PHP by timestamp
body: <p>I have problem ordering an array in the way I want.</p>
  <p>This is an example output of my array:</p>
  <pre class="lang-php prettyprint-override"><code># 159 rows in total
  Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025723
              [3] =&gt; /fcTGqQGD
          )
   
      [1] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025723
              [3] =&gt; /YQNk8yqa
          )
   
      [2] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025723
              [3] =&gt; /u2BNPrad
          )
   
      [3] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025722
              [3] =&gt; /d/blogdialain.com
          )
   
      [4] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025722
              [3] =&gt; /d/shopcraze.com
          )
   
      [5] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025722
              [3] =&gt; /domains_archive/175
          )
   
      [6] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025722
              [3] =&gt; /d/togou.com
          )
   
      [7] =&gt; Array
          (
              [0] =&gt; pastebin
              [1] =&gt; &amp;nbsp;
              [2] =&gt; 1305025722
              [3] =&gt; /W6NafmJa
          )
  )
  </code></pre>
  <p><em>Complete array data here: <a href="http://pastebin.com/GJNBmqL7" rel="nofollow noreferrer">http://pastebin.com/GJNBmqL7</a></em></p>
  <p>Data comes from various database at once, so I'm limited in the way that I put the data into the array.</p>
  <p>The [2] always contains a linux timestamp. Now I want the entire array to be ordered by that timestamp, with the lowest value first.</p>
  <p>How can I get that done?</p>