Answers for "ascending order by date"

13

sort dates

const sortedActivities = activities.sort((a, b) => b.date - a.date)
Posted by: Guest on April-16-2020

Code answers related to "ascending order by date"

Code answers related to "Javascript"

Browse Popular Code Answers by Language