private void AddOrderAttribute(OrderElement orderElement, TransactionAttribute att, string attDescription, bool ascending)
 {
     OrderAttributeElement orderAttElement = orderElement.AddOrderAttribute();
     orderAttElement.Attribute = att.Attribute;
     orderAttElement.Description = attDescription;
     orderAttElement.Ascending = ascending;
 }
 private OrderElement AddOrder(IGridObject gridObject, string name)
 {
     OrderElement orderElement = new OrderElement(name);
     gridObject.Orders.Add(orderElement);
     return orderElement;
 }