>Now, I am confused about correction. Is it correction to your original answer that simply using the array name in ASORT() without a parameter will sort the array on the 1st column? Or is it a correction to using "1" as a parameter?
Sorry, it replaces otherwise part in my previous statement. :)
Here's "full" version:
Yes '1' would work too. For 2D arrays, the second parameter is the column to sort on as long as it's less or equal the # of columns in the array. Otherwise it'll define the column to sort on plus the row to start sorting on. You can use ASUBSCRIPT() and AELEMENT() functions to convert between row/column and item number.
--sb--