text: public virtual int CompareTo(WeightedPhraseInfo other){int diff = StartOffset - other.StartOffset;if (diff != 0){return diff;}diff = EndOffset - other.EndOffset;if (diff != 0){return diff;}return (int)Math.Sign(Boost - other.Boost);}