orderRunners
orderRunners<
T>(items,order?):T[]
Sort runner-keyed items for display: the ids named in order first, in that
order, then everything else alphabetically.
Alphabetical for the tail rather than detection order because detection order is an implementation detail of the provider list, and a list that reshuffles when a provider is added is a list you cannot learn.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends object |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
items | T[] |
order? | string[] |
Returns
Section titled “Returns”T[]