--- alias: user-guide-sort-rule-set-index description: "A Sort Rule Set manages the sorting of materials and resources for dispatch" --- # Sort Rule Set :lock: SortRuleSet.**Show** ## Overview A **Sort Rule Set** is a collection of **Sort Rules** which are used for sorting **Material** or **Resources** for dispatching purposes. It supports both the **Push** and **Pull** dispatching approaches. ## System Sort Rules | Property | Scope | Description | | ------------------------------------- | -------- | ---------------------------------------------------------------- | | **StandardSchedulingMaterialSorting** | Material | Sorts Materials according to their planned start date order defined in the released Schedule Scenario, placing unscheduled Materials last. | | **StandardSchedulingResourceSorting** | Resource | Prioritizes the Resource assigned to the current Material in the released Schedule Scenario. | Table: System Sort Rules ## Tying Everything Together ```mermaid graph LR A1[Step] --- Main[Sort Rule Set] --- A2[Resource] Main === L1[Sort Rule Set Rule] L1 ---- A3[Rule] classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200; classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden; classDef mermaid_businessdata color:#000, fill:#65CDE8, stroke:#65CDE8, stroke-width:0px, font-size:100%; classDef mermaid_nonbusinessdata color:#000, fill:#B7DEE8, stroke:#B7DEE8, stroke-width:0px, font-size:100%; classDef mermaid_entity color:#000, fill:#FB9F53, stroke:#FB9F53, stroke-width:0px, font-size:100%; classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%; classDef mermaid_context color:#000, fill:#B9CDE5, stroke:#B9CDE5, stroke-width:0px, font-size:100%; classDef mermaid_optional color:#000, fill:#B7DEE8, stroke:#65CDE8, stroke-width:1px, font-size:100%, stroke-dasharray: 5 5; class Main mermaid_entity class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_businessdata class L1,L2,L3,L4,L5,L6,L7,L8,L9 mermaid_entitylinked class C1,C2,C3,C4,C5,C6 mermaid_context class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata click Main "../../business-data/sort-rule-set" click A1 "../../business-data/step" click A2 "../../business-data/resource" click A3 "../../administration/rule" ``` ## Sequence Of Steps The necessary steps for correctly using a **Sort Rule Set** are the following: 1. Create the necessary Sort Rules upfront - note that for creating custom rules, a Dynamic Execution Engine (DEE) rule is necessary. Note also that the application provides a set of pre-defined rules. 2. Create a Sort Rule Set. {{ generate_index() }}