public bool Equals(SpartanRank other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(DisplayInfo, other.DisplayInfo) && Packs.OrderBy(p => p.Id).SequenceEqual(other.Packs.OrderBy(p => p.Id)) && RankNumber == other.RankNumber && StartXp == other.StartXp); }