Beware: Both modifications above work with 2 sort columns, but fail when I add a 3rd sort column. I did find a 2d array sort with multiple columns that worked at https://www.mrexcel.com/board/threads/quick-sort-for-2d-array-multiple-column-sort-ascending-descending-and-transposed.1206039/page-2