Bug 123726 "Top n", "Bottom n" in highlight dialog doesn't work.
Description: "Top n", "Bottom n" in highlight dialog doesn't work. Steps to reproduce: 1. Add a highlight for a table. 2. Set highlight rule: "account_id", "top n", "3", let its font color red. 3. Preview the report, it doesn't work. Attached is design file.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
temporaryComputedColumns.add(new ComputedColumn( "_{$TEMP_GROUP_"+i+"$}_", src.getKeyExpression(), getTempComputedColumnType( groupSpecs[i].getInterval() )));
						}
					}
					odiQuery.setGrouping( Arrays.asList( groupSpecs));
				}		
				
				List sorts = queryDefn.getSorts();
				if ( sorts != null && !sorts.isEmpty( ) )
				{
					IQuery.SortSpec[] sortSpecs = new IQuery.SortSpec[ sorts.size() ];
					Iterator it = sorts.iterator();
					for ( int i = 0; it.hasNext(); i++ )
					{
						ISortDefinition src = (ISortDefinition) it.next();
						int sortIndex = -1;
						String sortKey = src.getColumn();
						if ( sortKey == null || sortKey.length() == 0 )
						{ 
							
							ColumnInfo columnInfo = getColInfoFromJSExpr( cx,
									src.getExpression( ).getText() );
														
							sortIndex = columnInfo.getColumnIndex(); 
							sortKey = columnInfo.getColumnName( );
						}
						if ( sortKey == null && sortIndex < 0 )
						{
							
							
							temporaryComputedColumns.add(new ComputedColumn( "_{$TEMP_SORT_"+i+"$}_", src.getExpression().getText(), DataType.ANY_TYPE));