Specifies whether the documents should be output in descending order (the default is ascending order).
If you use this method after called ThenBy, the descending ordering will apply to the secondary sort.
- Namespace
- Statiq
.Core - Containing Type
- OrderDocuments
Syntax
public OrderDocuments Descending(bool descending = true)
Parameters
Name | Type | Description |
---|---|---|
descending | bool | If set to true , the documents are output in descending order. |
Return Value
Type | Description |
---|---|
OrderDocuments | The current module instance. |