Hi Simons,
Welcome to the Mitel forum.
With the Mitel ACD there are two primary agent routing metrics, these are:
[2] - if skills are being used then it will route to the highest skilled agent that has been idle the longest.
Unfortunately, it will therefore not be able to perform the routing logic you would like.