public function getOptionsStatisticsByQuestionId($id) { return Radiobutton::find()->where(['Question_id' => $id])->select(['content', 'count'])->orderBy(['count' => SORT_DESC])->asArray()->all(); }