If you have a ranged and a melee class 50+ available you can test it yourself. Just queue up, check the approx time and then leave queue and try it with the other class. For me it was 30m ranged vs 10m melee just now. It will give in and fill spots with all ranged eventually, but it does seem to attempt to make a varied party priority.