API usageSpreadsheet APIEnumerationXlSortOrientationOn this pageXlSortOrientationAsk a question Specifies the sort orientation: sort by rows (top to bottom) or by columns (left to right). Type Enumeration Values "xlTopToBottom" "xlLeftToRight"