Skip to content

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 Parameter
T extends object
ParameterType
itemsT[]
order?string[]

T[]