Random order in queue

Hi,

I developed a little chat using fastpath. Unfortunately I can not determine the queuing algorithm of fastpath. Can anyone tell me how the order of the agents in a queue is determined?

Thanks,

Martin