protected function sortVariables(array $vars)
    {
        usort($vars, function($a, $b) {
            return $a->options['modifier'] >= $b->options['modifier'] ? 1 : -1;
        });

        return $vars;
    }
protected function sortVariables(array $vars)
    {
        usort($vars, function($a, $b) {
            return $a->options['modifier'] >= $b->options['modifier'] ? 1 : -1;
        });

        return $vars;
    }
protected function sortVariables ( array $ vars ) { usort ( $ vars , function ( $ a , $ b ) { return $ a -> options [ 'modifier' ] >= $ b -> options [ 'modifier' ] ? 1 : - 1 ; } ) ; return $ vars ; }
Sort variables before extracting data from uri.
We have to sort vars by non-explode to explode.

@param array $vars
@return array
Sort variables before extracting data from uri . We have to sort vars by non - explode to explode .