code: def _get_sorted_target_vocab_fnames(folder) -> List[str]:
      _key = lambda x: int(x.split(".", 3)[-2])
      return sorted(
          [
              f
              for f in os.listdir(folder)
              if f.startswith(C.VOCAB_TRG_PREFIX)
          ],
          key=_key,
      )
  
imports: import argparse
  import json
  import logging
  import os
  from collections import Counter
  from itertools import chain, islice
  from typing import Dict, Iterable, List, Optional, Tuple, Callable
  from sockeye.log import setup_main_logger
  from .None import constants
  from .None import utils
label_desc: Use image node_id 12 for calling a global function with example usage: _get_sorted_target_vocab_fnames(folder) and returns: sorted