TreeView: Custom sort?

Hello,


How can I perform a custom sort of the treeview ? Similar to the CustomSort method of the stock TreeView?

Use the OnNodeCompare event where you can return the compare result between 2 nodes and in this way provide a custom sort.

Thank you very much