src/ViKon/Parser/Parser.php
protected function sortRulesByOrder(AbstractRule $a, AbstractRule $b) {
        if ($a->getOrder() === $b->getOrder()) {
            return 0;
        }

        return $a->getOrder() < $b->getOrder()
            ? -1
            : 1;
    }
protected function sortRulesByOrder(AbstractRule $a, AbstractRule $b) {
        if ($a->getOrder() === $b->getOrder()) {
            return 0;
        }

        return $a->getOrder() < $b->getOrder()
            ? -1
            : 1;
    }
protected function sortRulesByOrder ( AbstractRule $ a , AbstractRule $ b ) { if ( $ a -> getOrder ( ) === $ b -> getOrder ( ) ) { return 0 ; } return $ a -> getOrder ( ) < $ b -> getOrder ( ) ? - 1 : 1 ; }
Sort rules by order ASC

@param \ViKon\Parser\Rule\AbstractRule $a
@param \ViKon\Parser\Rule\AbstractRule $b

@return int
Sort rules by order ASC