[RESOLVED] sorting a filelistbox
I have a filelistbox that display filenames inside a specific folder
File1.path="C:\tempproject"
the filenames are of the following format:
1Daily20042006,2Daily20042006,....10Daily20042006.........50Daily29042006
but the filelistbox displays the files as following:
10Daily
11Daily
12Daily
...
1Daily
20Daily
21Daily
What I want is to sort them in the following order:
1Daily,2Daily,3Daily....10Daily,11Daily.....20Daily,21Daily....
how can i sort them?
Re: sorting a filelistbox
You can use any sorting algorithms to achieve your goal.
Re: sorting a filelistbox
can i clear up ur answer pls?
1 Attachment(s)
Re: sorting a filelistbox
Here is the subroutines for sorting arrays of Integers, Longs, Singles, Doubles, Strings, and Variants.
Re: sorting a filelistbox