public int Parse(string[] s, int pos)
        {
            //"AnalyzeSortData - self - start",

            pos = Utils.FindNextRow(s, "itemName", pos);
            string s1 = s[pos];

            Utils.ClearStringText(ref s1, "itemName");
            m_ItemName = s1;
            m_Tag      = spisok.GetTag(m_ItemName);

            pos = Utils.FindNextRow(s, "scanData", pos);

            for (;;)
            {
                int pos_end  = Utils.FindNextRow(s, "}", pos);
                int pos_next = Utils.FindNextRow(s, "buyoutPrice", pos);
                if (pos_next > pos_end)
                {
                    break;
                }
                CAuctionLot lot = new CAuctionLot();
                pos = lot.Parse(s, pos);
                pos = Utils.FindNextRow(s, "}", pos) + 1;
                if (lot.GetBoyOutPrice() != 0.0) //без цены выкупа
                {
                    m_Lots.Add(lot);
                }
            }
            return(pos);
        }
 public void Sort()
 {
     for (int i = 0; i < m_Lots.Count - 1; i++)
     {
         for (int j = 0; j < m_Lots.Count - 1; j++)
         {
             if (m_Lots[j].GetPrice() > m_Lots[j + 1].GetPrice())
             {
                 CAuctionLot temp = m_Lots[j];
                 m_Lots[j]     = m_Lots[j + 1];
                 m_Lots[j + 1] = temp;
             }
         }
     }
 }