Bug 132805 Set descending to outer group will affect inner group.
Description: Set descending to outer group will affect inner group. Steps to reproduce: 1. New a sample datasource and dataset from orders. 2. Drag the dataset to Layout. 3. Add a group on ordernumber, interval 10, descending. 4. Add another group on orderdate, interval day 2, ascending. 5. Preview. Expected result: Data are grouped correctly. Actual result: Inner group didn't work unless you set outer group's sort to asc.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ColumnReferenceExpression.java
/**************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *  
 **************************************************************************/ 
package org.eclipse.birt.data.engine.expression;
import java.util.logging.Logger;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.birt.data.engine.script.ScriptEvalUtil;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * An expression that translates to a direct column access on the "row" javascript object.
 */
public final class ColumnReferenceExpression extends CompiledExpression
{
	
	private String 	m_columnName;
	private int 	m_columnIndex;
	private String rowIndicator = "row";
	protected static Logger logger = Logger.getLogger( ColumnReferenceExpression.class.getName( ) );