Types
MemberSort
Sort key for member roster queries.
enum
MemberSortValues
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.