Bug 210047 The grand total key should not appear in the new sort key editor
Build ID: I20071101-2000 Steps To Reproduce: 1.New a cube and add a x-tab to the layout 2.add data to the x-tab and show the grand total 3.open the property editor's sorting tab, click "Add" to add a new sort key. Expect: the grand total key should not appear in the key list
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/CubeQueryUtil.java
}
					for ( int j = 0; j < aggrOns.size( ); j++ )
					{
						DimLevel dimLevel = OlapExpressionUtil.getTargetDimLevel( aggrOns.get( j )
								.toString( ) );
						if ( dimLevel.equals( target ) )
						{
							 
							
							if( j == aggrOns.size( ) -1 )
							{
								if ( fromSameEdge( aggrOns, cubeDefn )  )
									result.add( new BindingMetaInfo( binding.getBindingName( ),
											IBindingMetaInfo.GRAND_TOTAL_TYPE ) );
								else
									result.add( new BindingMetaInfo( binding.getBindingName( ),
											IBindingMetaInfo.SUB_TOTAL_TYPE ) );
							}
							else
							{
								DimLevel next = OlapExpressionUtil.getTargetDimLevel( aggrOns.get( j+1 )
										.toString( ) );
								
								int candidateEdge = getAxisQualifierEdgeType( dimLevel,
										cubeDefn );
								if ( candidateEdge != -1 )
								{
									if ( getAxisQualifierLevel( next,
											cubeDefn.getEdge( candidateEdge ) ) != null )
										result.add( new BindingMetaInfo( binding.getBindingName( ),