Radnen/spherestudio — pull request #14 by fatcerberus (2013-05-10 11:27:51+00:00)
Title: Project tree file sorting

So it turns out DirectoryInfo.GetFiles (and presumably GetDirectories as well) only returns a sorted list of filenames when called on an NTFS filesystem. Discovered this when I was working on a project stored on a flash drive, my scripts were added to the tree in seemingly random order. I fixed this via the use of LINQ--I knew I'd find an application for it eventually!