Merge pull request #2226 from libgit2/rb/submodule-sorting-fix Fix submodule sort order during iteration