SAP Message 0D047 - You cannot set an allocation rule to sorting without a sort variant

Diagnosis
You have defined an assignment rule that requires a sorting variant.Your entries are not consistent.

Procedure
Assign a sorting variant or select a different assignment rule.