I wrote an application that uses the Dir() function to find all the JPG files in a folder and does some processing on them. It does its job, but now I find that it’s important to process the files in alphabetic order. Help for Dir() states that Dir() returns the files in no particular order, and its up to the programmer to sort the list manually using an array. I think I can do this, but it seems a bit clunky, and was wondering what other people do when confronted with the same requirement. Comments?
PS. I searched Google etc for a class module that would do this task, but came up empty. Does anybody have some code that can be dropped into an existing application that I could use? Thanks.