Use different ordering algorithms in CreateElementParent
Refs https://redmine.teklia.com/issues/3735
We want to disable the type usage for ElementPath orderings (middle term goal). But we need an immediate solution to store specific ordering of children elements from various types.
We'll introduce an optional argument to CreateElementParent
named ordering_algo
with the following options:
-
with_types
(default), current implementation which takes the child element type into consideration -
append
, new implementation which simply append the child element into the last position