public int Compare(object x, object y) { return ((BaseToolboxNode) y).Label.CompareTo (((BaseToolboxNode) x).Label); }