FAQ: Code Challenges: Intermediate JavaScript - sortYears()

The exercise seems to expect you use the built-in .sort() method to do the sorting for you

sorting the data and then reversing is very likely less efficient

1 Like