You have another alternative. If you define your own comparison function and pass it to SortTableCells, you can then use another column as a secondary sort key.
This way, when your callback is called at the time you need to compare two cells, you can then return the comparison result based not only on which of the cells is "greater," but also, if the cell values are equal, based on the comparison of the corresponding cells in a different column.
Does this make sense?
Luis Gomes
NI