isaacs/npm — pull request #2324 by mfncooper (2012-03-30 22:25:45+00:00)
Title: Sort output of fs.readdir to ensure an ordered command list

The order of entries returned by fs.readdir varies across OSes. To ensure that the generated index lists commands in alpha order, we need to sort the output of that function.