public int CompareTo(object _other)
{
CurveSelection selection = (CurveSelection) _other;
int num = this.curveID - selection.curveID;
if (num != 0)
{
return num;
}
num = this.key - selection.key;
if (num != 0)
{
return num;
}
return (int) (this.type - selection.type);
}