Difference between revisions of "Sort"
From Xojo Documentation
m (1 revision) |
m (1 revision) |
(No difference)
|
Revision as of 18:53, 19 November 2009
Contents
Description
Sorts the elements of a one-dimensional array in ascending order.
Syntax
array.Sort
Part | Description |
---|---|
array | The array to be sorted. |
Notes
The Sort method works with string, single, double, and all the integer data type arrays only. It accepts only one-dimensional arrays.
Examples
This example sorts the aNames array.
aNames.Sort
|
See Also
Dim statement; Array, Join, Split, Ubound functions; Append, IndexOf, Insert, Pop, Redim, Remove, Shuffle, Sortwith methods; ParamArray keyword.