Statistical Depth Functions for Ranking Distributions: Definitions, Statistical Learning and Applications