A standard ListBox will always sort in ascending order. You have two choices:
1. Define your own class that inherits ListBox and override the Sort method to sort how you want.
2. Set the Sorted property to False and sort the data yourself, e.g.vb.net Code:
Array.Sort(myArray) Array.Reverse(myArray) myListBox.DataSource = myArray




Reply With Quote