I just checked if contents of directory on my cygwin/Win7 development system, and test embedded platform running Linux+Busybox are the same. Simple, cat * | md5sum on both (RXVT/Bash on Cygwin, serial console on Busybox/Bash), compare. And... mismatch. So I went manually file-by-file, doing md5sum * and...Cygwin:  c69a7926998066fcb79aad3e2fc0c33f *blankpack  5866f29a5bc74f741bcc1074c883abaa *cleanup.sh  d4923d7df2540e279664b0633784f1c4 *clean-www.sh  c44ab61b62af040ee55a3e4ddc271299 *dLinux:  c69a7926998066fcb79aad3e2fc0c33f *blankpack  d4923d7df2540e279664b0633784f1c4 *clean-www.sh  5866f29a5bc74f741bcc1074c883abaa *cleanup.sh  c44ab61b62af040ee55a3e4ddc271299 *dSomehow the two cleanup scripts switched places. The same happens with ls, echo * etc.Is this some bug? Some dependency on the underlying OS? Which of the two orders is the correct one(if any)? 
What's with `-` in filename affecting sorting order depending on platform?
bash;sort;cygwin;busybox
Check the locale setting on the machines. The sort order depends on the regional settings.