Flags to specify the sorting which a revwalk should perform.
Sort the output with the same default time-order method from git. This is the default sorting for new walkers.
Sort the repository contents in topological order (parents before children); this sorting mode can be combined with time sorting to produce git's "time-order".
Sort the repository contents by commit time; this sorting mode can be combined with topological sorting.
Iterate through the repository contents in reverse order; this sorting mode can be combined with any of the above.