How can I sort lists in descending order? and how do i save a list's contents to an ini?
Printable View
How can I sort lists in descending order? and how do i save a list's contents to an ini?
by list, do you mean like an arry of elements or a listbox control?
-mcd
yeah, listbox
(Metallica Rocks!)
use the property sorted on the list box
listbox.sorted = true
or
pull your records from the database already sorted
select * from mytable order by myfield
that sorts it in ascending order, i want descending order, but thanks neway.