I decided to rephrase my question. I have over a thousand folders, each folder contains one or more files with the following names:
Unordered:
Alison.ext
Heather.ext
Molly.ext
Paula.ext
Sam.ext
Ordered:
Molly.ext
Sam.ext
Heather.ext
Alison.ext
Paula.ext
I would like to write an expression to sort this list as described above.
Sorry for the confusion.