Sorts the child items under an item alphabetically.

Parameters

Name Data type Required Description
Tag cstr.png No

Unique tag of the item whose child items you want to sort. The default is an empty string, which represents the root level in the tree control.

Sort Column ci32.png No

The column that contains the strings you want to use to sort the child items. The default is 0, which uses the strings in the leftmost column to sort the items.

Case Sensitivity ci32.png No

Sets how to handle upper and lowercase characters while sorting the child items.

0System Default (default)
1Case Sensitive
2Case Insensitive
Sort Recursively? cbool.png No

If TRUE, the method also sorts all items under the child items. If FALSE (default), the method sorts only the child items directly under the item whose tag you wire to tag.

Reverse Order? cbool.png No

If TRUE, the method sorts the child items in reverse alphabetical order. The default is FALSE.

Remarks

The following table lists the characteristics of this method.

Short Name Edit Tree Items.Sort Children
Data type No return value
Available in Run-Time Engine Yes
Available in Real-Time Operating System Yes
Settable when the VI is running Yes
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes