Sort Excel Ranges in C#
Arranging data in alphabetical or value order makes human analysis of data feasible in Microsoft Excel. IronXL makes sorting Excel Columns, Rows and Ranges extremely simple in C# and VB.NET.
SortDescending method on the selected range or column to apply sorting in appropriate order.
SortByColumn method, however required two parameters. The first input is the column intended to be sorted and the second input the sorting order.
You can download the software product from this link.