Bug 181706 Sorting Data by X values doesn't work without grouping
Using the 2.2M5 designer , I simply want to sort the data of the X Series in a Line Chart. I go into the Sort and Group pop up in the chart wizard and select ascending, but it doesn't affect the result. (style ordered same as the result set) If i define a dummy grouping (no interval) it is then working.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/DataProcessor.java
seOrthogonalRuntimeSeries,
								(DataSet) odata[0],
								(String[]) odata[5],
								(DataSet[]) odata[6] );
						qy = sdOrthogonal.getQuery( );
						sExpression = ( qy == null )
								? IConstants.UNDEFINED_STRING
								: qy.getDefinition( );
						if ( sExpression == null )
							sExpression = IConstants.UNDEFINED_STRING;
						
						seOrthogonalRuntimeSeries.setSeriesIdentifier( rsw.getGroupKey( k,
								sExpression,
								aggExp ) );
						sdOrthogonal.getSeries( )
								.add( seOrthogonalRuntimeSeries );
						odx++;
					}
				}
			}
		}
	}
	private DataSet adjustDataSet( DataSet ds, int maxcount, List indexMap,
			DataSet[] userDs )
	{
		ds = adjustEachDataSet( ds, indexMap );
		if ( userDs != null && userDs.length > 0 )
		{
			for ( int i = 0; i < userDs.length; i++ )
			{