/** * Display a listing of the resource. * * @return Response */ public function index() { return Diploma::orderBy('completed_at', 'desc')->orderBy('started_at')->get(); }