Bug 155007 Group Toc doesn't work well
Group Toc doesn't work well Steps to reproduce: run the attached file and preview it in html/web viewer/PDF Expected results: Group toc works well Actual results: Group toc doesn't work well
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
return ISortDefinition.SORT_ASC;
			if ( "desc".equals( direction ) ) 
				return ISortDefinition.SORT_DESC;
			assert false;
			return 0;
		}
		/**
		 * Transfers old expressions to column bindings and new expression.
		 * 
		 * @param item
		 *            the report design.
		 */
		private void transformExpressions( ReportItemDesign item )
		{
			IBaseQueryDefinition query = getParentQuery( );
			if ( query != null )
			{
				ITotalExprBindings totalExpressionBindings = getNewExpressionBindings( item );
				addNewColumnBindings( query, totalExpressionBindings );
				replaceOldExpressions( item, totalExpressionBindings );
			}
		}
		
		/**
		 * Transfer the old expression to column dataBinding and bind it to the Query.
		 * And create a news expression to replace the old expression.
		 * @param expr expression to be transfered.
		 * return the transfered expression
		 */
		protected String transformExpression( String expr )