The type of items in the feed
The function establishing the relative order of two items, defaulting to ascending,
which ranks values in natural order, placing null first
A sink resolving to the least ranking item of the feed, or to undefined if the feed carried no items
Creates a sink selecting the least item of the feed.
Items are ranked in source order, seeding the result with the first one; equally ranking items resolve to the first one in source order.
An empty feed resolves to
undefined; callers wanting a default supply it with??. As ascending ranksnullbefore any other value, a feed carryingnullresolves to it unless the comparator states otherwise.The order module of
@metreeca/coreprovides helper functions for assembling complex ranking criteria.