(Fixed, bug on Chrome, not on Firefox)Find a bug, Functional Programming: Sort an Array Alphabetically using the sort Method

The hint stopped being correct for Chrome about October, when Chrome changed the way its sort algorithm worked. There is a fix ready on FCC, but it takes time for it to get live. Basically, I can’t see your code, but I’m guessing it isn’t correct: look at the documentation for sort – the callback function should return -1, 0 or 1, not true or false. If it does return -1, 0 or 1, then it will work. If it returns true or false, it isn’t going to work.