List of files inside a folder (snow leopard)

Hi All,
I have noticed a change to the way one of our lists display after upgrading from Leopard to Snow Leopard.

We have a folder which contains our suppliers price lists (which earlier in the script is set to ThePath)
then;

set filename to name of (every document file of ThePath) whose name contains “pdf”
choose from list filename

Under Leopard; it displays the list in Alpha order regardless of upper/lower case.

Now; it displays the files with capitals first then then any files commencing with a lowercase.
i.e. Alpha, Beta, Gamma, apple. Which means if someone saves a price list commencing with lowercase it shows at the end.

While its fairly easy for us to simply fix the lower case file names to a capital. I thought it interesting that the change occurred after the upgrade and would be interested to know anyones thoughts as to why.

Thanks Michael

For anyone interested in an alternative or has the same issue; the following line gives you a list in same Alphabetical order prior to Snow Leopard. ie. Upper/Lowercase doesn’t matter.

NB: “ThePath” is set earlier in the script.

set the filename to list folder ThePath without invisibles