Wrote a Blog Post
Sorting an array in JavaScript, a utility perspective!
As sorting is a common operation on arrays, a more scalable and less error-prone strategy would be to define common compare functions. Let's build said compare functions!
https://www.antoniovdlc.me/sorting-an-array-in-javascript-a-utility-perspective/