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
long cityEnd = ( (DimensionCursor) edge1.getDimensionCursor( )
					.get( 1 ) ).getEdgeEnd( );
			line += cursor.getObject( dist_total ) + "		";
			if ( cityEnd == edge1.getPosition( ) )
				line += "["+cursor.getObject( city_total )+"]" + "		";
			
			if ( countryEnd == edge1.getPosition( ) )
				line += "["+cursor.getObject( country_total )+"]" + "		";
			
		}
		line += "["+cursor.getObject( grand_total )+"]" + "		";
		output += "\n" + line;
		this.testPrint( output );
		this.checkOutputFile( );
	}
	private void printCube( CubeCursor cursor, List columnEdgeBindingNames, String rowEdgeBindingNames, String measureBindingNames ) throws Exception
	{
		this.printCube( cursor, columnEdgeBindingNames, rowEdgeBindingNames, measureBindingNames, null, null, null );
	}
	
	private void printCube( CubeCursor cursor, List columnEdgeBindingNames, String rowEdgeBindingNames, String measureBindingNames, String columnAggr, String rowAggr, String overallAggr ) throws Exception
	{
		EdgeCursor edge1 = (EdgeCursor) (cursor.getOrdinateEdge( ).get( 0 ));
		EdgeCursor edge2 = (EdgeCursor) (cursor.getOrdinateEdge( ).get( 1 ));
		String[] lines = new String[ edge1.getDimensionCursor( ).size( ) ];
		for ( int i = 0; i < lines.length; i++ )
		{
			lines[i] = "		";
		}