 		private var _orderby:Array;
 		private var _groupby:Array;
 		private var _where:Expression;
-		
-		private var _sorter:Function;
+		private var _sort:Sort;
 		private var _aggrs:Array;
 		
 		/**

			_where = where;
			_orderby = orderby;
			_groupby = groupby;
			_sorter = sorter();
			_aggrs = aggregates();
		}
		
		private function sorter():Function
		{
			var s:Array = [], i:int;
			if (_groupby != null) {

				for (i=0; i<_orderby.length; ++i)
					s.push(_orderby[i]);
			}
			return s.length==0 ? null : new Sort(s);
		}
		
		private function aggregates():Array
