public function processSorter(ProcessConfiguration $a, ProcessConfiguration $b)
    {
        if ($a->getCode() === $b->getCode()) {
            return 0;
        }

        return ($a->getCode() < $b->getCode()) ? -1 : 1;
    }
public function processSorter(ProcessConfiguration $a, ProcessConfiguration $b)
    {
        if ($a->getCode() === $b->getCode()) {
            return 0;
        }

        return ($a->getCode() < $b->getCode()) ? -1 : 1;
    }
public function processSorter ( ProcessConfiguration $ a , ProcessConfiguration $ b ) { if ( $ a -> getCode ( ) === $ b -> getCode ( ) ) { return 0 ; } return ( $ a -> getCode ( ) < $ b -> getCode ( ) ) ? - 1 : 1 ; }
Sorter callback for process codes

@param ProcessConfiguration $a
@param ProcessConfiguration $b

@return int
Sorter callback for process codes