public function sortRoute()
    {
        $sort = uasort($this->routes, function ($a, $b) {
            if ($a[7] == $b[7]) {
                return 0;
            }
            return ($a[7] > $b[7]) ? -1 : 1;
        });
    }
public function sortRoute()
    {
        $sort = uasort($this->routes, function ($a, $b) {
            if ($a[7] == $b[7]) {
                return 0;
            }
            return ($a[7] > $b[7]) ? -1 : 1;
        });
    }
public function sortRoute ( ) { $ sort = uasort ( $ this -> routes , function ( $ a , $ b ) { if ( $ a [ 7 ] == $ b [ 7 ] ) { return 0 ; } return ( $ a [ 7 ] > $ b [ 7 ] ) ? - 1 : 1 ; } ) ; }
sort registered routes by there base uri.

@return void
sort registered routes by there base uri .