Add divergences for pmfs only.
Avoid sort for scalar distribution from pmf.