Sort dependencies by name

This is for #8. I don't like this solution as much as PR #12 because this is a case-sensitive sort, but I can't see any way to do a case-insensitive sort with underscore. This is probably good enough.