...
Queues are put in order of preference or importance. The highest ranking queue with a call waiting will be delivered to the agent. To adjust the priority of queues, drag and drop them on the screen to change their order.
For both Priority and Longest Wait Time, bounced calls will always take precedence over non-bounced calls.