Change the sorting mode when iterating through the repository's contents.
Changing the sorting mode resets the walker.
the walker being used for the traversal.
combination of GIT_SORT_XXX flags