code: def order(
      dsk: Mapping[Key, Any],
      dependencies: Mapping[Key, set[Key]] | None = None,
      *,
      return_stats: Literal[False] = False,
  ) -> dict[Key, int]:
      ...
  
file_path: dask/dask/order.py
imports: from __future__ import annotations
  import copy
  from collections import defaultdict, deque, namedtuple
  from collections.abc import Iterable, Mapping, MutableMapping
  from typing import Any, Callable, Literal, NamedTuple, overload
  from dask.core import get_dependencies, get_deps, getcycle, istask, reverse_dict
  from dask.typing import Key
label_desc: Use image node_id 2 for calling a global function with example usage: order(dsk, dependencies) without return types