PMID reference management

I have a paper written with PMIDs in the word file as references.  Was wondering if there was a way to import references into endnote using a long string of PMIDs and then sort them numerically to ease the pain of entering references manually?  Any thoughs/suggestions?  Many thanks in advance.