\n {ponctualCourse?.sort((a:any, b: any) => {\n return b.creationDatetime - a.creationDatetime\n }).map((course: PunctualCourse, key) => (\n
\n ))\n }\n {ponctualCourse?.sort((a:any, b: any) => {\n return b.creationDatetime - a.creationDatetime\n }).map((course: PunctualCourse, key) => (\n
\n ))\n }\n {regularCourse?.sort((a:any, b: any) => {\n return b.creationDatetime - a.creationDatetime\n }).map(\n (course: SubscriptionCourse, key: any) => (\n
\n )\n )}\n {coursePack?.sort((a:any, b: any) => {\n return b.creationDatetime - a.creationDatetime\n }).map((course: CoursePack, key: any) => (\n
\n ))}\n