| Unit: | SDL_dstruct | | Class: | TStringArray | | Declaration: | property SortOrder[ix: longint]: longint; |
The array property SortOrder returns the index of the original row at the position ix. Both the property value and the index ix may take values between 1 and NrOfRows. Please note that changing the sort order programmatically results in inaccessible strings if the SortOrder array contains a row number more than once. In general, setting the sort order should be avoided unless for very special circumstances.
| Example: |
If SortOrder[12] returns 134, this means that the original row 134 is now at position 12 in the string array.
|
|