public int CompareTo(IListBoxItem other) { CreatureResource creature = other as CreatureResource; if (creature != null) return CompareTo(creature); return 0; }