java: public final boolean lessThan(TextFragment fragA, TextFragment fragB){if (fragA.getScore() == fragB.getScore())return fragA.fragNum > fragB.fragNum;else return fragA.getScore() < fragB.getScore();}
C#: protected internal override bool LessThan(TextFragment fragA, TextFragment fragB){if (fragA.Score == fragB.Score)return fragA.FragNum > fragB.FragNum;else return fragA.Score < fragB.Score;}