title: Is this a array or not?
body: <p>I have this array filled with data from a database </p>
  
  <pre><code>$collectTable1 = array( 'errand' =&gt; $interest-&gt;errand_id,
                          'timestamp' =&gt; $interest-&gt;timestamp,
                          'type' =&gt; $interest-&gt;type,
                          'amount' =&gt; $interest-&gt;amount
                      );
  
  $collector[] = $collectTable1; 
  </code></pre>
  
  <p>And i want to rsort the timestamp, like this </p>
  
  <pre><code>$sortTime = rsort($collectedData['timestamp']);
  </code></pre>
  
  <p>I tried this, and i get this output </p>
  
  <pre>
   function timesort($a, $b) {
  
  
   return (intval($a['timestamp']) > intval($b['timestamp']));
  }
  
  usort($collector, "timesort");
  
  </pre>
  
  <p>2017-12-01 10:53:26</p>
  
  <p>I tought i would get from the descending date point? Something like 
  2018-09-04 12:32:16. </p>
  
  <p>My timestamp also contains both unixtimestamp and regular dates like this "
  2017-12-01 10:53:26"</p>