priority comparison across queues