This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use compare() as a comparator function for Array.sort() to achieve correct alphabetical ordering in any locale.
You've completed the free preview. Subscribe to unlock every lesson in every course.