internal override void Encode()
        {
            var allianceList = Alliances.OrderByDescending();

            this.Stream.WriteInt(allianceList.Count);

            foreach (Alliance alliance in allianceList)
            {
                alliance.EncodeRankingEntry(this.Stream);
            }
        }