comment typo
abstract out path ordering into own function (to be used ordering diff changes for patch)
s/orderChanges/orderChangesForAnalysis