JUMP TOCTRL-/DocumentationGetting StartedFunctions and lambdasWhat are "sequences"?FunctionsasFuncasEnumerablecreateeachfromArrayfromObjectrangerepeatsortsortDesctoComparerSafetoEqualityComparerSafetoPredicateSafeMethodsaggregateallanyaveragecastconcatcontainscountdefaultIfEmptydistincteachelementAtelementAtOrDefaultexceptfirstfirstOrDefaultgroupBygroupJoinintersectjoinlastlastOrDefaultmaxminofTypeorderorderByorderByDescendingorderDescendingpushToArrayreverseselectselectManysequenceEqualsinglesingleOrDefaultskipskipLastskipWhilesumtaketakeWhiletoArraythenthenBythenByDescendingthenDescendingtoObjecttoObservabletoObservableArraytoLookupunionwherezipPowered by sortDescShort hand version for 'order(By)Descending' methods of a sequence.JavaScript// 3, 2, 1 Enumerable.sortDesc([2, 1, 3]); // 11, 22, 33 Enumerable.sortDesc([22, 11, 33], (x, y) => y - x); With selector JavaScript// 3.3, 11, 22 Enumerable.sortDesc([11, 22, 3.3], (x, y) => y - x, x => x * 10); Updated less than a minute ago Getting StartedDid this page help you?YesNo