public static function getEvents(Application $application) { return $application->applicationEvents()->orderByRaw('created_at ASC, id ASC')->get(); }