Wrote a Blog Post
Declarative Sorting Functions in JavaScript
Sorting arrays in JavaScript can be more complex than what it sounds. Let's build some declarative sorting functions to mitigate that!
https://www.antoniovdlc.me/declarative-sorting-functions-in-javascript/