nodes: 0, module; 1, function_definition; 2, function_name:clean_pubmed_identifiers; 3, parameters; 4, type; 5, block; 6, typed_parameter; 7, generic_type; 8, expression_statement; 9, return_statement; 10, identifier:pmids; 11, type; 12, identifier:List; 13, type_parameter; 14, comment:"""Clean a list of PubMed identifiers with string strips, deduplicates, and sorting."""; 15, call; 16, generic_type; 17, type; 18, identifier:sorted; 19, argument_list; 20, identifier:Iterable; 21, type_parameter; 22, identifier:str; 23, set_comprehension; 24, type; 25, call; 26, for_in_clause; 27, identifier:str; 28, attribute; 29, argument_list; 30, identifier:pmid; 31, identifier:pmids; 32, call; 33, identifier:strip; 34, identifier:str; 35, argument_list; 36, identifier:pmid
code: def clean_pubmed_identifiers(pmids: Iterable[str]) -> List[str]:
      """Clean a list of PubMed identifiers with string strips, deduplicates, and sorting."""
      return sorted({str(pmid).strip() for pmid in pmids})