Sorting multidimensional array, upper case being sorted before lowercase
<p>Using the below for sorting a multidimensional array by screen name:</p>

<pre><code>$sortArray = array();

foreach($members as $member){
    foreach($member as $key=&gt;$value){
        if(!isset($sortArray[$key])){
            $sortArray[$key] = array();
        }
        $sortArray[$key][] = $value;
    }
}

$orderby = "screen_name";

array_multisort($sortArray[$orderby],SORT_ASC,$members);
</code></pre>

<p>But uppercase is being sorted before lowercase:</p>

<p><strong>Allan
Brenda
Greg</strong> works</p>

<p>But <strong>Frank</strong> comes before <strong>dan</strong></p>

<p>There's a lot out there on sorting arrays, but I finally got this working using the above, wanted to see if there was an easy way to fix it?</p>
