Javascript Array orderByDescending(selector, comparer)
Array.prototype.orderByDescending = function (selector, comparer) { comparer = comparer || SortComparer;/*from w w w. jav a2 s . c o m*/ return this.orderBy(selector, function (a, b) { return -comparer(a, b) }); };