lib/ParserGenerator/PHP/ParserGenerator/Config.php
static function Configcmp($a, $b)
    {
        $x = $a->rp->index - $b->rp->index;
        if (!$x) {
            $x = $a->dot - $b->dot;
        }
        return $x;
    }
static function Configcmp($a, $b)
    {
        $x = $a->rp->index - $b->rp->index;
        if (!$x) {
            $x = $a->dot - $b->dot;
        }
        return $x;
    }
static function Configcmp ( $ a , $ b ) { $ x = $ a -> rp -> index - $ b -> rp -> index ; if ( ! $ x ) { $ x = $ a -> dot - $ b -> dot ; } return $ x ; }
Compare two configurations for sorting purposes.

Configurations based on higher precedence rules
(those earlier in the file) are chosen first.  Two
configurations that are the same rule are sorted by
dot (see {@link $dot}), and those configurations
with a dot closer to the left-hand side are chosen first.
@param unknown_type $a
@param unknown_type $b
@return unknown
Compare two configurations for sorting purposes .