public static function sortPlugins(BOL_Plugin $a, BOL_Plugin $b) { if ($a->getId() == $b->getId()) { return 0; } return $a->getId() > $b->getId(); }