News

Create function that sorts on multiple properties. Specify sort order as 1 (ascending) or -1 (descending), default is ascending. Arguments. properties - An object with property name as key and sort ...
Generic type-aware compare function for Array.prototype.sort() and sortDeep. JavaScript arrays are sorted using string comparison by default, because that's what the spec says. This is an issue when ...