I was under the impression that the DF prioritized having different jobs in a group and having a melee and a ranged DPS. Only if those conditions failed would the DF start tossing in similar roles/jobs together.