Alphabetically sort array by sub-array's first element : <p>I'm looking for a way to sort an array that looks like this:</p>

<pre><code>$array = array(
     [0] =&gt; array('a', '1', '2', '3', '4,' test'),
     [1] =&gt; array('c', '1', '2', '3', '5', 'test'),
     [2] =&gt; array('b', '1', '3', '4,' 5,', 'test),
);
</code></pre>

<p>so that it sorts the sub-array's according to the sub-array's first element, such that it returns:</p>

<pre><code>$array = array(
     [0] =&gt; array('a', '1', '2', '3', '4,' test'),
     [1] =&gt; array('b', '1', '3', '4,' 5,', 'test),
     [2] =&gt; array('c', '1', '2', '3', '5', 'test'),
);
</code></pre>

<p>Does anyone have a good way about doing this?</p>

<p>Thank you!</p>
