Sorting and presentation problem


Here’s a problem I am facing.

I’ve got two databases. They share one thing in common. I would like
what they share to generate a list of clickable links. Now, I don’t
what a list of what they share. The list of clickable links is related
to what they share. Put another way, one list is sorted by another
list to yield a third clickable link list.

Make any sense?