A general rank‐dependent approach for distributional comparisons. (14th October 2021)