# Sorting

TypeScript source: `utils/sorting.ts`

## Functions

### sortStreamsDefault

Source: `utils/sorting.ts:22`

```ts
(streams: Topic[]) => Topic[]
```

Sorts stream topics using the default Viewer display order.

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `streams` | `Topic[]` | Topics to sort in place. |

#### Returns

The same array sorted by preferred stream order.
