Thanks Werner,
... for having payed attention concerning a very fake problem

My implementation of Comparator was actually wrong.
I fixed the problem by changing, in compare() method of my Comparator :

           if (order2>order1) {
               return -1;
           } else {
               return 1;
           }

... by :
           if (order2>order1) {
               return -1;
           } else if (order2<order1){
               return 1;
           } else {
               return 0;
           }

Probably a problem relative to equals() consistency....

It works fine now.

Once again, Thanks
;-)

Reply via email to