Bug 207564 Column sorting based on data type
Only string sorting happens when a column is selected in preview result page of DataSet Editor irrespective of type of data shown in that column. I'd like to be able to sort the data based on its datatype when a column is selected.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
private IQueryResults executeQuery( DataRequestSession session,
			IQueryDefinition queryDefn ) throws BirtException
	{
		IQueryResults resultSet = session.executeQuery( queryDefn,
				null,
				null,
				null );
		return resultSet;
	}
	/**
	 * 
	 * @param dataSetDesign
	 * @param rowsToReturn
	 * @return
	 */
	public final QueryDefinition getQueryDefinition(
			IBaseDataSetDesign dataSetDesign, int rowsToReturn )
	{
		if ( dataSetDesign != null )
		{
			QueryDefinition defn = new QueryDefinition( null );
			defn.setDataSetName( dataSetDesign.getName( ) );
			if ( rowsToReturn > 0 )
			{
				defn.setMaxRows( rowsToReturn );
			}
			List parameters = dataSetDesign.getParameters( );
			Iterator iter = parameters.iterator( );
			while ( iter.hasNext( ) )
			{