A generalized analytic solution to the win ratio to analyze a composite endpoint considering the clinical importance order among components. (2nd August 2016)