public int Compare (object a, object b) { string str1 = a.ToString (); string str2 = b.ToString (); return str1.CompareTo (str2); } }