Improved detection of source build path

Previous could possibly pick a sub-directory, this would cause the build process to fail because it couldn't find Makefile.PL or Build.pl
We are now sorting by filename, rather than by the generic sort of the file listing (including datetimes)