Sort order must be in sequential order
Detection
- RegExp:
Error (.*) SortOrder must be in sequential order from
Examples
Error Account.Standard_Account_Duplicate_Rule SortOrder must be in sequential order from 1. (Duplicate Rule)
Resolution
The target org probably has a standard Duplicate Rule that is not in your sources.
- Retrieve the duplicate rules of the target org with the Metadata Retriever of VS Code, and commit them
- Or delete the standard rule in the target org, so the order of your sources applies
Ref: https://developer.salesforce.com/forums/?id=9060G000000I6SoQAK