public static function filter($name) { return Project::name($name)->orderBy('dateFinish', 'ASC')->paginate(5); }