The task involves enhancing the functionality of an "object tree" data structure by introducing a sorting capability. This sorting capability is controlled by a "sort flag," which can have two possible values: "last to first" and "first to last".
"Last to first" sorting - this is current behavior, where we have last created/rendering item on top of the tree
"First to last " sorting - this is desired behavior to display
The task involves enhancing the functionality of an "object tree" data structure by introducing a sorting capability. This sorting capability is controlled by a "sort flag," which can have two possible values: "last to first" and "first to last".
"Last to first" sorting - this is current behavior, where we have last created/rendering item on top of the tree
"First to last " sorting - this is desired behavior to display