SAPbouiCOM.Matrix Mat_Lotes = (SAPbouiCOM.Matrix)pForma.Items.Item("4").Specific;
Column oColumn = Mat_Lotes.Columns.Item(10);
//oColumn.TitleObject.Sortable = true;
// Sort by columnh
//Ascending sort order
oColumn.TitleObject.Sort(SAPbouiCOM.BoGridSortType.gst_Ascending);