int IComparer.Compare (object o1, object o2) { if (o1 is string) return o1.Equals(o2) ? 0 : 1; else return (o1 == o2) ? 0 : 1; }