Generalized pairwise comparison methods to analyze (non)prioritized composite endpoints