id_orderkey¶
-
ucca.core.
id_orderkey
(node)[source]¶ Key function which sorts by layer (string), then by unique ID (int).
- Args:
- node:
Node
which we will to sort according to its ID - Returns:
- a string with the layer and unique ID in such a way that sort will first order lexicography the layer ID then numerically the unique ID.