--- title: ShipmentLineItemSortKeys - GraphQL Admin description: The set of valid sort keys for the ShipmentLineItem query. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/shipmentlineitemsortkeys md: https://shopify.dev/docs/api/admin-graphql/latest/enums/shipmentlineitemsortkeys.md --- # Shipment​Line​Item​Sort​Keys enum The set of valid sort keys for the ShipmentLineItem query. ## Valid values * ID Sort by the `id` value. *** ## Fields * [Inventory​Shipment.lineItems(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment#field-InventoryShipment.fields.lineItems.arguments.sortKey) ARGUMENT Represents an inventory shipment. *** ## Map ### Arguments with this enum * <-|[Inventory​Shipment.lineItems(sortKey)](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment#field-InventoryShipment.fields.lineItems.arguments.sortKey)