Avoid using SwapRow() when sorting.
Instead, build a data table prior to sorting, swap rows in this data table as we sort, then transfer the results back to the document in one step. This significantly speeds up the sort performance. Formula cells are yet to be handled. I'll work on that next. Change-Id: I59bde1a243dc8940411d1a33eef147671b060cd0
Showing
Please
register
or
sign in
to comment