text: public virtual int CompareTo(QualityQuery other){try{int n = int.Parse(queryID, CultureInfo.InvariantCulture);int nOther = int.Parse(other.queryID, CultureInfo.InvariantCulture);return n - nOther;}catch (FormatException ){return queryID.CompareToOrdinal(other.queryID);}}