Hello,
Thank you for your inquiry.
Spire.XLS can not support for sorting the data in current release. you need to sort the data yourself before inserting data to the spreadsheet.
Here is a link for your reference,
http://msdn.microsoft.com/en-us/library/w56d4y5z.aspx By other way, you can place the data to the data table and sort it.
Please let me know if you have any questions and concerns.
Best Regards