Sort PHP array but the objects within
<p>Sorry if this is simple, I am a PHP newbie.</p>

<p>Using a REST based API I am getting the following results back from the system I am accessing:</p>

<pre><code>$results = Array ( 
    [0] =&gt; stdClass Object ( 
        [ID] =&gt; 4d74fcda000291fe949dce44b892c57a   
        [name] =&gt; File Quarterly Taxes 
        [objCode] =&gt; TASK 
        [status] =&gt; NEW 
        [plannedCompletionDate] =&gt; 2011-09-09T07:30:00:000-0600 
        [description] =&gt; 

        [project] =&gt; stdClass Object ( 
            [ID] =&gt; 4d3d9cb00000829953755920c930f68a
            [name] =&gt; 2010 Accounting 
            [objCode] =&gt; PROJ
        )
    )
    [1] =&gt; stdClass Object ( 
        [ID] =&gt; 4d74fcda000291fd43a0b7c9c8224d3a 
        [name] =&gt; File Quarterly Taxes 
        [objCode] =&gt; TASK 
        [status] =&gt; NEW 
        [plannedCompletionDate] =&gt; 2011-06-10T07:30:00:000-0600 
        [description] =&gt; 

        [project] =&gt; stdClass Object (
            [ID] =&gt; 4d3d9cb00000829953755920c930f68a 
            [name] =&gt; 2010 Accounting 
            [objCode] =&gt; PROJ
        )
    ) 
    [2] =&gt; stdClass Object ( 
        [ID] =&gt; 4d74fcda000291ffd91d63e25945d2be 
        [name] =&gt; File Quarterly Taxes 
        [objCode] =&gt; TASK 
        [status] =&gt; NEW 
        [plannedCompletionDate] =&gt; 2012-01-13T07:30:00:000-0700 
        [description] =&gt; 

        [project] =&gt; stdClass Object ( 
            [ID] =&gt; 4d3d9cb00000829953755920c930f68a 
            [name] =&gt; 2010 Accounting 
            [objCode] =&gt; PROJ
        )
    )
) 
</code></pre>

<p>How do I take that array and sort it by the <code>plannedCompletionDate</code> in the object?</p>
