why you don't use [asort](http://ie1.php.net/manual/en/function.asort.php) ?