Method wnd.CompareTo Overload Implements IComparable. It allows to sort a collection. public int CompareTo(wnd other) Parameters other (wnd) Returns int Implements IComparable<T>.CompareTo(T)