Sort list of distributions.