Rather than use ICompaerer I am transferring value[row,col]
to valueArray, rowArray and colArray and writing a
sort(valueArray,rowArray,colArray)
(sorting on valueArray, swapping the other two accordingly)
and will then bind the results to the listView.
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:re********************************@4ax.com...
I'm not sure how to have a two dimensional ArrayList, but you can
write a comparer (class implementing IComparer) to have the ArrayList
sort however you like with your custom objects.
HTH,
--
Scott
http://www.OdeToCode.com
On Sat, 6 Mar 2004 22:50:18 +0100, "Vanessa" <va*****@hipperdy.hop>
wrote:
Is there a way to sort a listview on the first column?
Alternatively, is there a simple way toe sort an ArrayList with two
dimensions?