If you're making a list of unique names, what would differentiate the first Mike from the second Mike and the first Adam from the second Adam? The second listing of both names is not unique; thus selection of the second occurance of either is virtually impossible. Could you expand a bit more on what you want?

Dean