Maybe an issue in the curriculum

In Javascript Algorithms And Data Structures Certification (300 hours) / Functional Programming / Sort an Array Alphabetically using the sort Method, the solution provided by “Get a hint” doesn’t pass the test in my case.
But the following code works:

return arr.sort();

I hope someone can fixe it if there’s a real problem.
Thank you guys.

what i do is just restart the lesson and try again. It usually works.