In Prefect, work queue priority determines the order of flow runs submitted for execution. Queues with higher priority numbers are actually given lower preference. Execution proceeds from the highest priority (lowest number) to the lowest priority (highest number). For example, work from a "critical" queue with priority 1 will be submitted before work from a "high" queue with priority 5.
For further details, you can refer to the
Prefect documentation on work pools.