Page Contents

Home > @loopback/express > sortListOfGroups

sortListOfGroups() function

Sort the groups by their relative order

Signature:

export declare function sortListOfGroups(...orderedGroups: string[][]): string[];

Parameters

Parameter Type Description
orderedGroups string[][] A list of arrays - each of which represents a partial order of groups.

Returns:

string[]