Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java
* 
		 * @param aggrDefns
		 * @throws DataException
		 */
		private void sort( List aggrDefns ) throws DataException
		{
			try
			{
				Map nameMap = populateBindingNameMap( aggrDefns );
				Map aggrRefMap = new HashMap();
				Map aggrRefGroupLevelMap = new HashMap();
				for ( int i = 0; i < aggrDefns.size( ); i++ )
				{
					IAggrInfo aggrDefn = (IAggrInfo) aggrDefns.get( i );
					
					List exprs = new ArrayList();
					for( int x = 0; x < aggrDefn.getArgument( ).length; x++ )
					{
						exprs.add( aggrDefn.getArgument( )[x] );
					}
					
					if ( aggrDefn.getFilter( )!= null )
						exprs.add( aggrDefn.getFilter( ) );
					
					Set aggrRefs = new HashSet();
				
					
					Set aggrRefList = new HashSet();
					boolean use0AggrLevel = this.popAggrRefFromExprs( aggrRefList, exprs, nameMap );