private int Compare(int Left, int Right) { List <int> _List = m_MergeData[Left]; GameactivityTemplate _Data = (GameactivityTemplate)DataTemplate.GetInstance().m_GameactivityTable.getTableData(_List[0]); int _num_1 = _Data.getSort(); List <int> _List_2 = m_MergeData[Right]; GameactivityTemplate _Data_2 = (GameactivityTemplate)DataTemplate.GetInstance().m_GameactivityTable.getTableData(_List_2[0]); int _num_2 = _Data_2.getSort(); if (_num_1 > _num_2) { return(1); } else { return(-1); } }