code: def _get_node_children(node: Node) -> List[Node]:
      if not node.children:
          return []
      return sorted(
          node.children, key=lambda node_child: node_child.span.start
      )
  
imports: from collections import Counter, defaultdict
  from copy import deepcopy
  from typing import AbstractSet, Any, Callable, Counter, Dict, List, NamedTuple, Optional, Sequence, Tuple
  from pytext.data.data_structures.annotation import INVALID_TREE_INTENT
  from pytext.data.data_structures.node import Node, Span
  from .None import AllConfusions, Confusions, PerLabelConfusions, PRF1Metrics, PRF1Scores, safe_division
label_desc: Use image node_id 13 for calling a global function with example usage: _get_node_children(node) and returns: sorted, list