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/impl/QueryExecutorUtil.java
* @throws DataException
	 * @deprecated
	 */
	static IQuery.GroupSpec subQueryGroupDefnToSpec( Context cx,
			IGroupDefinition src, String columnName, int index )
			throws DataException
	{
		int groupIndex = -1;
		String groupKey = src.getKeyColumn();
		boolean isComplexExpression = false;
		if ( groupKey == null || groupKey.length() == 0 )
		{
			
			
			
			ColumnInfo groupKeyInfo = getColInfoFromJSExpr( cx,
				src.getKeyExpression( ) );
			
			groupIndex = groupKeyInfo.getColumnIndex( );
			groupKey = groupKeyInfo.getColumnName();
		}
		if ( groupKey == null && groupIndex < 0 )
		{
			ColumnInfo groupKeyInfo = new ColumnInfo(index, columnName );
			groupIndex = groupKeyInfo.getColumnIndex( );
			groupKey = groupKeyInfo.getColumnName();
			isComplexExpression = true;
		}
		
		IQuery.GroupSpec dest = new IQuery.GroupSpec( groupIndex, groupKey );