ProtocolPirate
Programmer
I'm loading a huge database table, so I have to change the DataGridView to virtual mode, which in turn means that automatic sorting won't work anymore and I have to implement it myself.
So I have a cache that is a 2D array of grid values. Unfortunately, sorting is only support on 1D arrays. So what would be a good way to implement row-by-row sorting of a 2D array, based on the value of only one column?
Should I implement this as an array of arrays instead of as a monolithic 2D array?
So I have a cache that is a 2D array of grid values. Unfortunately, sorting is only support on 1D arrays. So what would be a good way to implement row-by-row sorting of a 2D array, based on the value of only one column?
Should I implement this as an array of arrays instead of as a monolithic 2D array?