> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

## Ascending order ID sorting for customer orders in the GraphQL Storefront API

BigCommerce is rolling out an additional sort option for a customer's order history in the GraphQL Storefront API.

* **New sort option.** The `customer.orders` field's `sortBy` argument now accepts `ID_ASCENDING`, which returns orders by order ID in ascending order.
* **Existing options unchanged.** `CREATED_AT_NEWEST`, `CREATED_AT_OLDEST`, and `ID_DESCENDING` continue to work as before.

For details, see [GraphQL Storefront API: Orders](/developer/docs/storefront/guides/graphql-storefront-api/orders).