Bug 182895 Support sort on Level attribute.
Currently in OLAP engine we only support sort on level key value. We should go ahead to support sort on level attribute value.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/api/CubeFeaturesTest.java
cqd.setQueryResultsID( queryResults.getID( ) );
		pcq = engine.prepare( cqd, null );
		queryResults = pcq.execute( null );
		cursor = queryResults.getCubeCursor( );
		
		printCube( cursor, "country_year_total",
				"city_year_total", "dist_total", "city_total", "country_total","rowGrandTotal", "grandTotal",
				new String[] {"edge1level1","edge1level2","edge1level3"}, "edge2level1", "measure1" );
		
	
	}
	
	/**
	 * Test grand total
	 * @throws Exception
	 */
	public void testAggrSort2Cache( ) throws Exception
	{
		ICubeQueryDefinition cqd = new CubeQueryDefinition( cubeName);
		IEdgeDefinition columnEdge = cqd.createEdge( ICubeQueryDefinition.COLUMN_EDGE );
		IEdgeDefinition rowEdge = cqd.createEdge( ICubeQueryDefinition.ROW_EDGE );
		IDimensionDefinition dim1 = columnEdge.createDimension( "dimension1" );
		IHierarchyDefinition hier1 = dim1.createHierarchy( "dimension1" );
		hier1.createLevel( "level11" );
		ILevelDefinition level12 = hier1.createLevel( "level12" );
		hier1.createLevel( "level13" );
		IDimensionDefinition dim2 = rowEdge.createDimension( "dimension2" );
		IHierarchyDefinition hier2 = dim2.createHierarchy( "dimension2" );
		ILevelDefinition level21 = hier2.createLevel( "level21" );