title: Case insensitive sort array
body: <p>Some time ago looking on the threads on array sorting I had come up with the following:</p>
  
  <pre><code>public function sortList(&amp;$objects, $on, $order = 'ASC') {
      $comparer = ($order === 'DESC') 
      ? "return -strcmp(\$a-&gt;{$on},\$b-&gt;{$on});" 
      : "return strcmp(\$a-&gt;{$on},\$b-&gt;{$on});"; 
  usort($objects, create_function('$a,$b', $comparer)); 
  return $objects;
  }
  </code></pre>
  
  <p>The above code works fine, the only problem is that it is case sensitive, whereas I'd like it to be case insensitive.
  Would it be possible without rewriting the whole thing?</p>