> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MemberSort

> Sort key for member roster queries.



**Kind**: `enum`

## Values

**`DATE_JOINED`** — Sort by when the member joined the Space the roster is scoped to.

**`LAST_VISIT`** — Sort by the member's last visit time (default).

**`MEMBER_NAME`** — Sort alphabetically by member name.

**`MEMBER_TYPE`** — Sort by member type (Hosts, Moderators, full members, then limited members).

**`REFERRAL_COUNT`** — Sort by referral count, highest first. Only valid together with the ambassador filter.

**`RESOURCE_ID`** — Sort by the member's resource ID. The only sort key that never changes for a
member, so it is the one that guarantees a full enumeration returns every
member exactly once — use it for a roster export.

**`ROLE`** — Sort by role (Hosts, then Moderators, then members) in the Space the roster is scoped to.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.