PHP non-case sensitive sort not working
<p>The following code should put Banana after apple but instead it goes to the end.</p>

<pre><code>$json='{"apple":null,"orange":["s","s2"],"pear":null}';

$json=json_decode($json,true);

$json['Banana']=NULL;

ksort ($json, SORT_NATURAL | SORT_FLAG_CASE);

print_r($json);
</code></pre>
