How to get TableRowSorter to display original order

I used TableRowSorter in my table to sort rows, it switches between ASCENDING and DESCENDING order, but how to return it to the original order ?Is it possible to make it loop through : ASCENDING ==> DESCENDING ==> Original order ==> ASCENDING ...Frank
[281 byte] By [Ni_Mina] at [2007-11-26 19:50:26]
# 1
Well, you need to store the order then somehow (like duplicating the underlying collection), unless you can define "original order".
CeciNEstPasUnProgrammeura at 2007-7-9 22:39:51 > top of Java-index,Java Essentials,Java Programming...
# 2
So, it's not simple to do ?I was hoping to do something like turn on a switch in the TableRowSorter :RowSorter<TableModel> sorter=new TableRowSorter<TableModel>(My_Model);sorter.Remember_Original_Order(True); // Then just loop through the 3
Ni_Mina at 2007-7-9 22:39:51 > top of Java-index,Java Essentials,Java Programming...