this can be simplified (and handling the equal priorities at the same time): ``return $b->getOption('priority') - $a->getOption('priority')``