Bug 122854 There is redundant columns in "available columns" list in "export data" dialog.
Description: There is redundant columns in "available columns" list in "export data" dialog. Steps to reproduce: 1. Preview attached design in web viewer. 2. Select the table and click on "export" button. 3. There is a "detail" column name in "available columns" list which is not data set column.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
DesignChoiceConstants.SORT_DIRECTION_ASC ) ? 0 : 1 );
			return sort;
		}
		/**
		 * create all sort conditions given a sort key handle iterator
		 * 
		 * @param iter
		 *            the iterator
		 * @return sort array
		 */
		private ArrayList createSorts( Iterator iter )
		{
			ArrayList sorts = new ArrayList( );
			if ( iter != null )
			{
				while ( iter.hasNext( ) )
				{
					SortKeyHandle handle = (SortKeyHandle) iter.next( );
					sorts.add( createSort( handle ) );
				}
			}
			return sorts;
		}
		/**
		 * create all sort conditions in a listing element
		 * 
		 * @param listing
		 *            ListingDesign
		 * @return the sort array
		 */