trier les dates

const sortedActivities = activities.sort((a, b) => b.date - a.date)
Kind Kestrel