array.prototype.tosorted

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

sort-package-json

Sort an Object or package.json based on the well-known package.json keys

natural-compare

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.