[TargetSetDifference] Sort commits by dependencies Resolves #223