---
title: StaffMembersSortKeys - GraphQL Admin
description: The set of valid sort keys for the StaffMembers query.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/admin-graphql/latest/enums/StaffMembersSortKeys'
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/StaffMembersSortKeys.md
api_name: admin
api_type: graphql
type: enum
---

# Staff​Members​Sort​Keys

enum

The set of valid sort keys for the StaffMembers query.

## Valid values

* EMAIL

  Sort by the `email` value.

* FIRST\_​NAME

  Sort by the `first_name` value.

* ID

  Sort by the `id` value.

* LAST\_​NAME

  Sort by the `last_name` value.

***

## Fields

* [Query​Root.staffMembers(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.staffMembers.arguments.sortKey)

  ARGUMENT

  The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.

* [staff​Members.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/staffMembers#arguments-sortKey)

  ARGUMENT

***

## Map

### Arguments with this enum

* [Query​Root.staffMembers(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/QueryRoot#field-QueryRoot.fields.staffMembers.arguments.sortKey)
* [staff​Members.sortKey](https://shopify.dev/docs/api/admin-graphql/latest/queries/staffMembers#arguments-sortKey)
