--- alias: tutorials-sort-rule-sets-scenario-resource-step search: boost: 2 description: "See how assigning a resource sort rule set to a step changes the resource selection order during dispatch and track in." --- # Scenario 3: Resource Sort Rule Set on a Step In this scenario, use the `HighPriorityResourceSorting` **Sort Rule Set** provided in the [master data file](../masterdata/sort-rules-set-masterdata.xlsx). The **Sort Rule Set** uses the `ResourcePriority` rule to sort **Resources** by priority. ![Screenshot showing the HighPriorityResourceSorting sort rule set and its configured rule.](../images/sort-rule-set-scenario-resource-rule-definition.png) That priority is defined in the **Resource > Priority** property. ![Screenshot showing the resource priority property used by the HighPriorityResourceSorting rule.](../images/sort-rule-set-scenario-resource-priority.png) For this exercise, the **Resources** use the following priorities: | Resource | Priority | | --- | --- | | `COATER-001` | 2 | | `COATER-002` | 3 | | `COATER-003` | 5 | | `COATER-004` | 3 | | `COATER-005` | 5 | | `COATER-006` | 1 | | `COATER-007` | 1 | Then reproduce the behavior change in the `Coating` **Step**: 1. Open the `Coating` step page and ensure that no rule is assigned to the **Resource Sort Rule Set** property. ![Screenshot showing the Coating step configuration without a resource sort rule set assigned.](../images/sort-rule-set-scenario-resource-step-without-rule.png) 2. Open the `Coating` Step View and perform a dispatch and track in operation on a **Material**. The available **Resources** are sorted alphabetically by name. ![Screenshot showing the dispatch and track in dialog with resources sorted alphabetically before the sort rule set is assigned.](../images/sort-rule-set-scenario-resource-dispatch-before.png) 3. Assign the `HighPriorityResourceSorting` **Sort Rule Set** to the **Resource Sort Rule Set** property in the `Coating` **Step**. ![Screenshot showing the Coating step configuration with the resource sort rule set assigned.](../images/sort-rule-set-scenario-resource-step-with-rule.png) 4. Open the `Coating` Step View again and perform a dispatch and track in operation on a **Material**. The available **Resources** are now sorted by priority. ![Screenshot showing the dispatch and track in dialog with resources sorted by priority after the sort rule set is assigned.](../images/sort-rule-set-scenario-resource-dispatch-after.png) This scenario is useful when production needs to prioritize specific resources based on factors such as distance, performance, or cycle time. {% set video_id = '03b995c6c172b4946bab065c1ef680ba' %} {% include-markdown 'includes/cloudflare_stream.md' %}