// Used by plugins
 public void SortBySequence(bool ascending = false)
 {
     Sort((r1, r2) => Misc.TDSequenceCompare(r1.Sequence, r2.Sequence, ascending));
 }
 public virtual void SortBySequence(bool ascending = false)
 {
     Sort((r1, r2) => Misc.TDSequenceCompare(r1.GetSequence(), r2.GetSequence(), ascending));
 }
示例#3
0
 public int Compare(RevisionInternal rev1, RevisionInternal rev2)
 {
     return(Misc.TDSequenceCompare(rev1.GetSequence(), rev2.GetSequence()));
 }