index-pack: group the delta-base array entries also by type