LiveKit docs › Hooks › useSortedParticipants

---

# useSortedParticipants

The `useSortedParticipants` hook returns the participants sorted by importance.

## Import

```typescript
import { useSortedParticipants } from "@livekit/components-react";

```

## Properties

- **`participants`** _(Array<Participant>)_: 

## Returns

```typescript
Participant[]

```

---

This document was rendered at 2026-06-07T11:33:15.537Z.
For the latest version of this document, see [https://docs.livekit.io/reference/components/react/hook/usesortedparticipants.md](https://docs.livekit.io/reference/components/react/hook/usesortedparticipants.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).