title: fMailbox to get most recent email in array
body: <p>I'm using fMailbox class from flourish to get access to my emails.  My ultimate goal is to periodically find the most recent email and download the .txt file.  The array returned using fMailbox looks like the following:</p>
  
  <pre><code>Array
  (
      [1] =&gt; Array
          (
              [uid] =&gt; 1
              [received] =&gt; 06 Aug 2016 14:03:25 -0400
              [size] =&gt; 2836
              [date] =&gt; Sat, 06 Aug 2016 14:03:25 -0400
              [from] =&gt; "Mail Delivery System" 
              [subject] =&gt; Mail delivery failed: returning message to sender
              [message_id] =&gt; 
              [to] =&gt; "NIL" 
          )`
  
      [2] =&gt; Array
          (
              [uid] =&gt; 2
              [received] =&gt; 06 Aug 2016 14:08:14 -0400
              [size] =&gt; 4733
              [date] =&gt; Sat, 6 Aug 2016 18:07:14 +0000
              [from] =&gt; "Jerry West" 
              [subject] =&gt; Test
              [message_id] =&gt; &lt;2C49E7@KRABBY.owen.edu&gt;
              [to] =&gt; "JWest@domain.com" 
  </code></pre>
  
  <p>They are sorted in ascending order by date, and there are large gaps between array items, so the numbers may go [1] [2] [6] [30].  I would like to find the most recent message, or the highest number.  The max($array) function is returning [6] as the max entry rather than [30].  Why is this function not returning [30] for the array?</p>