public int CompareTo(object obj) { Bag other = (Bag)obj; if (this.guts.Length > other.guts.Length) return -1; else if (this.guts.Length < other.guts.Length) return 1; else return 0; }