If memory serves, your priority is based on time spent in queue, In-Progress or otherwise.

So, a group waiting for a healer for 15 minutes In-Progress will have less priority than a group waiting for a healer for 20 minutes fresh.