SortKey Property

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: SortKey

Requires: VI Scripting

Class: LVClassPropDefFolder Properties

To Use: Create a property.

Gets or sets the sorting order of the LabVIEW class property definition folder. Properties are normally sorted by their long name, but this property can override that for LabVIEW class properties. All properties with sort keys greater than or equal to zero will be sorted according to their sort key in ascending order. Properties with the same sort key will then be sorted by long name. If the sort key is -1, the property will be placed at the end of the property list, sorted by long name. The default sort key is -1. Setting the sort key to a non-negative number effectively moves that property to the top of the properties list and leaves the other properties unchanged. Setting the sort key to -1 effectively sorts the property normally among other properties that are sorted normally. Properties are always sorted within their class.


The following table lists the characteristics of this property.

Data type
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo


Not Helpful