Using ksort() worked great until some names had capital letters.
PHP Code:
<?php
$my_array = Array();
$my_array = array(
'Advent' => 'A short description',
'AZip' => 'A short description',
'Birch' => 'A short description'
);
ksort($my_array);
echo "<ol>";
foreach($my_array as $name => $description){
echo "<li>$name - $description</li>";
}
echo "</ol>";
// Outputs AZip as #1 instead of #2
// 1. AZip - A short description
// 2. Advent - A short description
// 3. Birch - A short description
?>
What should I be using to alphabetize an associative array that ignores uppercase letters?