Method to sort ListIconGadget
Posted: Sat Jul 19, 2008 1:10 pm
Ok, I'm populating a ListIconGadget with a list of files from a directory. The intention being to batch rename the files. An obvious option is to sort the files by name or date etc. prior to passing the files through a rename procedure.
It's the sorting bit that I'm stumbling on. What are my options here? Do I have to use a corresponding array, sort that array and pass the data back to the ListIconGadget.
Any help appreciated.
It's the sorting bit that I'm stumbling on. What are my options here? Do I have to use a corresponding array, sort that array and pass the data back to the ListIconGadget.
Any help appreciated.