Thanks Klaus, then it's just a minor error on the help-file...
Quote:
Sorts the ArrayList.
Syntax: Sort (Compare Constant)
Compare Constant could be:
cNumbers - All values are numbers (9 will be sorted before 10)
cCaseSensitive - Sorts strings.
cCaseUnsensitive - Sorts string.
Example:
Sub App_Start
Form1.Show
ArrayList1.Add("apple")
ArrayList1.Add("A")
ArrayList1.Add("cat")
ArrayList1.Add("bee")
ArrayList1.Sort(cCaseSensitive)
For i = 0 to ArrayList1.Count-1
ListBox1.Add(ArrayList1.Item(i))
Next
End Sub
This example fills a ListBox with the items from the sorted ArrayList.
|
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!