So a FILE(GLOB MYVAR "${SOMEDIR}/*/*.ext") somedir/ a/a.ext b/b.ext c/c.ext .... On Windows, returns them in alphabetical order. On Linux, returns them in some random order. How do we get it in alphabetical order all the time? Clint