Corrected error in use of sort function

Sort function's second parameter is an integer, as per specification (http://php.net/manual/en/function.sort.php).  This was an oversight when the sort function being used was switched from usort to the regular sort.