 		protected function dataGridSortChangingHandler(event:GridSortEvent):void {
 			//avoid client sorting, perform the sorting by server side
 			event.preventDefault();
-			var newSortFields:Array = event.newSortFields;
-			var sortField:SortField = newSortFields[0];
-			currentOrderByFieldName = sortField.name;
-			loadRecordSummariesCurrentPage();
-		}
+			var oldSortFields:IList = currentSortFields;
+			currentSortFields = RecordSummaryDataGrid.createRecordSummarySortFields(event.newSortFields, oldSortFields);;
+			
+			loadRecordSummariesCurrentPage();
+		}
+		
+		
 	}
 }
	 * */
	import flash.display.DisplayObject;
	import flash.events.Event;
	import flash.events.FocusEvent;
	import flash.events.MouseEvent;
	
	import mx.collections.IList;
	import mx.collections.ListCollectionView;
	import mx.core.FlexGlobals;

			totalPages = Math.ceil(totalRecords / MAX_RECORDS_PER_PAGE);
			
			_view.dataGrid.dataProvider = records;
			_view.dataGrid.setSortedColumns(currentSortFields);
			_view.currentState = ListView.DEFAULT_STATE;
			
			updatePaginationBar();
