Orders the input documents using the value of the specified metadata key.
You can chain as many
ThenBy
calls together as needed.
- Namespace
- Statiq
.Core - Containing Type
- OrderDocuments
Syntax
public OrderDocuments ThenBy(string key)
Parameters
Name | Type | Description |
---|---|---|
key | string | A metadata key to get the objects to use for comparison. |
Return Value
Type | Description |
---|---|
OrderDocuments | The current module instance. |