in reply to Re: counting pairwise incidences
in thread counting pairwise incidences

IMHO you should sort @names.

apart from this it's practically the same algorith I use. :)

Cheers Rolf