partial void SortButton_Activated (UIBarButtonItem sender)
{
this.flexGrid.CollectionView.SortDescriptions.RemoveAll();
if(sender.Title.Equals("Z-A"))
{
sender.Title = "A-Z";
this.flexGrid.CollectionView.SortDescriptions.Add(new Xuni.iOS.Core.XuniSortDescription("Country", false));
}
else
{
sender.Title = "Z-A";
this.flexGrid.CollectionView.SortDescriptions.Add(new Xuni.iOS.Core.XuniSortDescription("Country", true));
}
this.collapseButton.Title = "Collapse";
}
}