Method Sort(string, string?, bool)

Assembly: redb.Route.dll

Sorts the collection selected by a route-language expression and puts the sorted list into the body; the key expression sees each element as body (Sort("body.items", "body.priority")).

IRouteDefinition Sort(string collectionExpression, string? keyExpression = null, bool descending = false)