This example demonstrates how to sort groups by defined aggregate functions. 
You can press the two buttons below RadGridView to test different cases:
 -Sort by first aggregate
 -Sort by second aggregate
 
Note: this example have lightweight templates applied for RadGridView.
See also:
http://docs.telerik.com/devtools/wpf/controls/radgridview/features/overview-lightweight-template.html
