public static function sort_priority_asc(SR_AIExtension $a, SR_AIExtension $b) { return $a->getPriority() - $b->getPriority(); }