The following error message may appear during validation or deployment of an Outbound Change Set if the execution order of Duplicate Rules is inconsistent with the target organization:
"SortOrder must be in sequential order from 1"
This issue occurs because the SortOrder of the Duplicate Rules included in the Outbound Change Set is not sequential, or conflicts with the existing rules already in the target organization.
The fix for this error depends on whether you're deploying Duplicate Rules that were reordered in the source organization, or brand-new rules. Follow the scenario below that matches your situation.
Include all Duplicate Rules that have been reordered in the Outbound Change Set.
Set the order of the new Duplicate Rule in the source organization to be last among the existing rules in the target organization. Alternatively, include all Duplicate Rules whose order was changed in the Outbound Change Set.
All Duplicate Rules, even those that are inactive, must be included in the Outbound Change Set if they affect the sequential order.
005263977

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.