# $forumDefaultSortOrder — Returns the default sort order of a forum.

## Syntax

```
$forumDefaultSortOrder[channelID]
```

## Parameters

- **channelID** *(id, required)* — The channel to get default sort order from

## Return Value

- SortOrderType.

## Usage

```
$forumDefaultSortOrder[channelID] → result
```

## Example

```bdfd
$sendMessage[$forumDefaultSortOrder[36]]
```
