Degree heterogeneity of graphs and networks. II. Comparison with other indices