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
import org.eclipse.birt.data.engine.olap.impl.query.CubeSortDefinition;
import testutil.BaseTestCase;
/**
 * 
 */
public class CubeFeaturesTest extends BaseTestCase
{
	private static String documentPath = System.getProperty( "java.io.tmpdir" );
	private static String cubeName = "cube";
	
	static
	{
		if( !documentPath.endsWith( File.separator ))
		{
			documentPath += File.separator;
		}
	}
	
	/**
	 * Test use all dimension levels.
	 * @throws Exception
	 */
	public void testBasic( ) 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" );