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
{
				IDimensionDefinition dim = (IDimensionDefinition) dims.get( i );
				if ( dim.getName( ).equals( dimLevel.getDimensionName( ) ) )
				{
					return ICubeQueryDefinition.COLUMN_EDGE;
				}
			}
		}
		return -1;
	}
	/**
	 * 
	 * @param expr
	 * @return
	 */
	public String getReferencedMeasureName( String expr )
	{
		return OlapExpressionCompiler.getReferencedScriptObject( expr, "measure" );
	}
	
	/**
	 * 
	 * @param expr
	 * @return
	 */
	private String getReferencedMeasureName( IBaseExpression expr )
	{
		return OlapExpressionCompiler.getReferencedScriptObject( expr, "measure" );
	}