Sort all child nodes based on their Y positions. The child node must inherit from [CanvasItem] for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<methodname="is_sort_enabled"qualifiers="const">
<returntype="bool">
</return>
<description>
Returns true if the children nodes are being sorted.
</description>
</method>
<methodname="set_sort_enabled">
<returntype="void">
</return>
<argumentindex="0"name="enabled"type="bool">
</argument>
<description>
Set whether the children nodes are sorted or not. (default true)