def latest_export_path(glob_pattern, regex_pattern):
  """Get the latest exported path based on timestamp."""
  sorted_paths = export_paths(glob_pattern, regex_pattern)
  return sorted_paths[-1] if sorted_paths else None
Get the latest exported path based on timestamp.
language/common/utils/export_utils.py