flattenOrder: Remove nesting of groups within an order/group
Description
This function reduces a potentially nested order to its flattened
representation, containing no nested groups. Entities are ordered in the
result by their first appearance in the order object.
Usage
flattenOrder(x)
Value
x, or its order resource, flattened.
Arguments
x
VariableOrder, DatasetOrder, VariableGroup, or DatasetGroup; or a
CrunchDataset or catalog that has an ordering property.