Hi Farouk,
Thanks for your interest in Essential XlsIO.
Essential XlsIO does not provide any built-in method for sorting the data. You would need to sort the data yourself before inserting into the spreadsheet. However you can place the data in the data table and sort it. Please refer the following url for more details:
http://msdn2.microsoft.com/en-us/library/system.data.dataview.sort(vs.71).aspxFinally the sorted DataTable can be imported into the spreadsheet using the IWorksheet.ImportDataTable method of XlsIO.
Kindly let me know if you have any other questions.
Thanks,
Balamurugan