default-compare
JavaScript
★ 3
updated 4y ago
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
No plain-English explanation yet — one is being written right now. Check back in a minute.