Sorry if this is duplicate, but I searched and haven't found exactly same question. So I have
File1:
Aaron ID00456
Brad ID00123
Cassie ID00789
Doug ID12345
Ethan ID05555
File2:
ID12345
ID00123
ID00456
Keeping the order of IDs in File2, I'd like to have output File3 as:
Doug ID12345
Brad ID00123
Aaron ID00456