public function sortByName() { $articles = Articles::SortByName()->get(); return view('articles.index', compact('articles')); }