Can we reorder items within a tree node?

I have multiple items (rows) within a tree grid node. I want user to able to drag n drop those items to reorder them. Is that possible? If yes, the how?

( right now if I drag and drop an item it becomes child node of the item dropped on instead getting placed before it or after it.)

You can control drag and drop behavior in treeGrid with setDragBehavior() method … agbehavior