@ende/collections/sort-by
ende add jsr:@ende/collectionsVersion 2026.10.15 on JSR.
Exports
Order— Order option for SortByOptions.sortBy— Returns all elements in the given collection, sorted by their result using the given selector. The selector function is called only once for each element. Ascending or descending order can be specified through the `order` option. By default, the elements are sorted in ascending order.SortByOptions— Options for sortBy.