sort distribution detail by total count dec