987    {
  990        
  991        if( item1 && item2 )
  992        {
  995            if( cont1 && cont2 )
  996            {
  997                int sort1       = cont1.GetRootWidget().GetSort();
  998                int sort2       = cont2.GetRootWidget().GetSort();
  999                
 1000                cont1.GetRootWidget().SetSort( sort2 );
 1001                cont2.GetRootWidget().SetSort( sort1 );
 1002                
 1003                m_Body.SwapItems( m_Body.Find( cont1 ), m_Body.Find( cont2 ) );
 1004            }
 1005        }
 1006        RecomputeOpenedContainers();
 1007    }
ref map< EntityAI, ref Container > m_ShowedItems