StackOrder typedef Stack orders Stacks
The definition of a stack order: given the generated series list, it must return an list of numeric indices representing the stack order.
Implementation
typedef StackOrder = Iterable<int> Function(List<List<List<num>>>);