Thanks for the reply, I'm using a built in spreadsheet control and this method doesn't work with it.
Why didn't you mention that at the outset? The syntax for the Spreadsheet Control's Sort method is:
Sort(ColumnKey, Order, Header)
which you already have. It doesn't cater for sorting by more than one column.