Deep Dive into JavaScript Sorting

Array.prototype.sort explained, custom comparators, and stability quirks