[]
Gets or sets the sort orientation.
The sort orientation determines whether the sort operation is applied by columns or by rows.
SortOrientation Orientation { get; set; }
Property Orientation As SortOrientation
worksheet.Sort.Range = worksheet.Range["A1:B4"];
worksheet.Sort.Orientation = SortOrientation.Columns;
SortOrientation orientation = worksheet.Sort.Orientation;