public void testSortHeaders() throws IOException
{
generateTestFileHeadings(true);
SortCSV norm = new SortCSV();
norm.getSortOrder().add(new SortedField(1,SortType.SortString,true));
norm.process(INPUT_NAME,OUTPUT_NAME,true,CSVFormat.ENGLISH);
BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));
Assert.assertEquals("\"a\",\"b\"", tr.readLine());