private function compareOptions($a, $b)
    {
        $comparison = $b['priority'] - $a['priority'];

        if ($comparison == 0) {
            return strcasecmp($a['path'], $b['path']);
        }

        return $comparison;
    }
private function compareOptions($a, $b)
    {
        $comparison = $b['priority'] - $a['priority'];

        if ($comparison == 0) {
            return strcasecmp($a['path'], $b['path']);
        }

        return $comparison;
    }
private function compareOptions ( $ a , $ b ) { $ comparison = $ b [ 'priority' ] - $ a [ 'priority' ] ; if ( $ comparison == 0 ) { return strcasecmp ( $ a [ 'path' ] , $ b [ 'path' ] ) ; } return $ comparison ; }
OmnisearchOption implements Comparable.

@param array $a
@param array $b

@return int
OmnisearchOption implements Comparable .