CollectionSortOrder now hasThe GraphQL Admin API enum that specifies the product sort order within a collection gained one new value. Available in API version 2026-07 and later.
CollectionSortOrder(an enum representing the product sort order within a collection) gained a single new value:MOST_RELEVANT (relevance order).collection sort order was chosen from values such as best-selling, price, name, or manual (there was no relevance-order option).
sortOrder: MOST_RELEVANT can now be specified, so "relevance order" can be handled as a setting value via the API.
CollectionSortOrder What it is / where it fitsA collection (a group of products) has a sortOrder field that represents how the products inside are arranged, and its type is the CollectionSortOrder enum. This time, a new value— MOST_RELEVANT —was added to the values you can choose from. That's where it fits.
MOST_RELEVANT are just examples of common sort order options.This article does not explain what signals are used to compute "relevance," or how.. See the Help Center for details.| Sort order value | Meaning (typical sort order) | How this article treats it |
|---|---|---|
BEST_SELLING | Best-selling | Existing |
PRICE_ASC / DESC | Price ascending / descending | Existing |
ALPHA_ASC / DESC | Name A→Z / Z→A | Existing |
CREATED / DESC | Created date (oldest / newest) | Existing |
MANUAL | Manual order | Existing |
MOST_RELEVANT | Relevance | ★ Newly added (2026-07+) |
* Of the table above, the value this article explicitly states as newly added is MOST_RELEVANT only. The other values are representative examples for context.
On versions older than that, MOST_RELEVANT is not available. You need to raise the query/mutation endpoint version to 2026-07 or later.
The article's tags are "Admin GraphQL API" and "2026-07". How other APIs such as the Storefront API are handled isnot mentioned in this article.
Set the collection's sortOrder to MOST_RELEVANT . Check the actual field structure and required fields in the API version 2026-07 documentation.
On endpoints below 2026-07, the value does not exist. Review the API version pinned on the client side before adopting it.
Existing enum values and behavior are unchanged—just one more option has been added. This is not a breaking change to existing implementations.
How "relevance" is calculated (which signals—sales, views, inventory, etc.) is not documented in this article. Measure the actual behavior in a sandbox.
MANUAL(arranged by hand). In contrast, MOST_RELEVANT is automatic ordering. For collections where you want to preserve a manual arrangement, you need to decide against applying it.
The Admin API sortOrder setting—how it carries over to the display order on a theme / headless front end is not stated in this article.Before adopting, set the target collection to 2026-07, then verify the ordering on the actual front end— adding this step first is the safe approach.
sortOrder to MOST_RELEVANT , shifting it toward relevance-based ordering.sortOrder in bulk to MOST_RELEVANT .MOST_RELEVANT over, then compare their metrics against the existing-sort-order collections over a set period.