BCGControlBar Pro for MFC
BOOL CBCGPTreeCtrlEx::SortChildren ( HTREEITEM  hItem,
BOOL  bAscending = TRUE 
)

Sorting child items at one level of hierarchy.

Call this member function to immediately sort all children of the specified item in the tree control.

Parameters
hItemHandle of item.
bAscendingSpecifies the sorting direction.