padd numbers and order by node count