Article::find()->orderBy('sort_date DESC')->limit(10)->All(),
$articles=Article::find()->orderBy('sort_date DESC')->limit(10)->All();
$sorted_articles=[];
foreach($articles as $article){
$dt=date('d.m.Y',$article->sort_date);
$sorted_articles[$dt][]=$article;
}
->select('article.*, DATE_FORMAT(FROM_UNIXTIME(`article.sort_date`), \'%d.%m.%Y\') as date')
->orderBy('sort_date')