/** * Homepage:default. * @param string $order */ public function actionDefault($order) { $this->notes = $this->noteManager->findAll(); if ($order) { $this->notes->order(OrderHelper::translateParameterToColumns($order)); } }