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