Since you're sorting, it sounds like you want to group rows that have similar values into a node? This can be accomplished by the Subtotal method. So check that out... C1FlexGrid1.Subtotal(C1.Win.C1FlexGrid.AggregateEnum type, int level, int groupOn, int totalOn) Regards, Greg L