src/Plugin.php
private function alphabetize( $commands )
    {
        $commandList = array_keys($commands);

        sort($commandList, SORT_NATURAL | SORT_FLAG_CASE);

        return array_values($commandList);
    }
private function alphabetize( $commands )
    {
        $commandList = array_keys($commands);

        sort($commandList, SORT_NATURAL | SORT_FLAG_CASE);

        return array_values($commandList);
    }
private function alphabetize ( $ commands ) { $ commandList = array_keys ( $ commands ) ; sort ( $ commandList , SORT_NATURAL | SORT_FLAG_CASE ) ; return array_values ( $ commandList ) ; }
Sort array of commands

@param $commands

@return array
Sort array of commands