--- title: FulfillmentEventSortKeys - Customer API description: The set of valid sort keys for the FulfillmentEvent query. api_version: 2025-01 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/enums/fulfillmenteventsortkeys md: https://shopify.dev/docs/api/customer/2025-01/enums/fulfillmenteventsortkeys.md --- # Fulfillment​Event​Sort​Keys enum The set of valid sort keys for the FulfillmentEvent query. ## Valid values * HAPPENED\_​AT Sort by the `happened_at` value. * ID Sort by the `id` value. * RELEVANCE Sort by relevance to the search terms when the `query` parameter is specified on the connection. Don't use this sort key when no search query is specified. *** ## Fields * [Fulfillment.events(sortKey)](https://shopify.dev/docs/api/customer/2025-01/objects/Fulfillment#field-Fulfillment.fields.events.arguments.sortKey) ARGUMENT Represents a single fulfillment in an order. *** ## Map ### Arguments with this enum * <-|[Fulfillment.events(sortKey)](https://shopify.dev/docs/api/customer/2025-01/objects/Fulfillment#field-Fulfillment.fields.events.arguments.sortKey)