Answers for "how to create a sorting funktion after date on items in a list javascript"

13

javascript order array by date

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

Code answers related to "how to create a sorting funktion after date on items in a list javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language