title: Php sort multi dimensional array by key
body: <p><a href="https://stackoverflow.com/questions/3645990/php-alphabetically-sort-multi-dimensional-array-by-its-key">php: alphabetically sort multi-dimensional array by its key?</a></p>
  
  <p>I'm trying to do the exact same thing as the guy in the thread above me. But my ksort($array) seems to return a number 1. What am I doing wrong?</p>