Sorting arrays in JavaScript
This is the second article in The JavaScript Snippet Series. In the previous episode we discussed three methods of getting unique values from JavaScript. In this article, we will discuss various ways of sorting arrays in JavaScript.
Sorting is a com...
bytenaija.hashnode.dev5 min read
Chris Bongers
Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊
Very nice write-up, keep in mind for big arrays this is not the best option since it will slow down quickly. The numbers you are testing with seem valid enough.