---
schema_version: "1"
id: ee71d8f83313fb17529925ac886e1241dcc4dece409187f854924cc2e79d0c19
title: Configure Predictive Sort in B2C Commerce Einstein
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_configuring_predictive_sort.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_configuring_predictive_sort.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d4ca138a9f2709ef287c2269d0b14cccbdf3c521062aeeb54c020f3cc29b7361
description: Predictive Sort delivers a sort order based on the specific shopper's real-time browse behavior on the site.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Configure Predictive Sort in B2C Commerce Einstein

Predictive Sort delivers a sort order based on the specific shopper's real-time browse behavior on the site.

1. A Developer validates caching is invalidated when Predictive Sort applies as a sorting rule.
    
    See [Predictive Sort Performance Considerations.](https://help.salesforce.com/s/articleView?id=cc.b2c_einstein_predictive_sort_perf_considerations.htm&release=264.0.0&type=5 "Personalization services can impact template rendering and search request performance.")
    
    Developer documentation and reference materials are available in English only.
2. Use the Predictive Sort attribute in standard [sorting rules.](https://help.salesforce.com/s/articleView?id=cc.b2c_sorting_rules.htm&release=264.0.0&type=5 "Use B2C Commerce sorting rules to control the order in which search results appear to help your customers quickly find the products they’re interested in.")
    1. To add a new sorting rule, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **site** | **Search** | **Sorting Rules** and click **New**.
    2. Click **Add** in the new sorting rule.
    3. Click the entry field down arrow.
    4. Select **Predictive Sort** in the Standard attributes section.
    5. Select Text Relevancy: **Yes** or **No**.
    6. Select the sorting direction: **Descending**.
    7. Click **Apply**.
3. Use the Predictive Sort attribute in a [dynamic sorting rule](https://help.salesforce.com/s/articleView?id=cc.b2c_creating_sorting_rules.htm&release=264.0.0&type=5 "A dynamic attribute in B2C Commerce is an attribute whose value is calculated through a formula you create, allowing you to create weighted blends of different attributes to use when sorting.").
    1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select**Merchant Tools** | **site** | **Search** | **Sorting Rules**, and click the **Dynamic Attributes** icon.
    2. On the Dynamic Attributes window, click **New** to add a new dynamic attribute, or select an attribute from the top section to edit.
    3. Click **Add**.
    4. Click the entry field down arrow.
    5. Select **Predictive Sort** in the Standard attributes section.
    6. Select the sorting direction: **Descending**.
    7. Select **Minimum** as the default value.
    8. Click **Apply**.