Generalized pairwise comparisons of prioritized outcomes in the two‐sample problem