I'm not quite so sure myself. The optimal priority for large scale fights should be Enemies (bosses/HNM maintaining the highest priority) --> party --> alliance (should they added it for over-world content) --> NPC's --> Other players.