public void SetInitalModel(CacheStoreModel model)
 {
     m_list = model;
     m_sort = new TreeModelSort(new TreeModelAdapter(m_list));
     cacheListTree.Model = m_sort;
     m_list.Resort(m_app.CentreLat, m_app.CentreLon);
     m_sort.SetSortFunc(3, TitleCompare);
     m_sort.SetSortFunc(2, DistanceCompare);
     m_sort.SetSortFunc(1, CodeCompare);
     m_sort.SetSortFunc(0, SymbolCompare);
     UpdateStatus();
 }
 public void Resort()
 {
     m_list.Resort(m_app.CentreLat, m_app.CentreLon);
     this.QueueDraw();
 }