protected function _rsortByNote($a, $b) { if ($a['note'] == $b['note']) { return 0; } return $a['note'] > $b['note'] ? -1 : 1; }