Eric Larson retweetou

JavaScript's sort() function lets you sort an array object by default or by a custom sorting function.
And to use it, you need to know about Unicode, how to handle numbers, & more.
Here, @gweaths walks you through how to use sort() in JS with examples.
freecodecamp.org/news/how-does-…
English

















