Search:

Type: Posts; User: andreas90

Search: Search took 0.07 seconds.

  1. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    I tried your code and changed a little the Item's toString() but didn't find what is causing this formatting. The only thing I noticed is that this is happening if the name's length is less than 8....
  2. Replies
    16
    Views
    1,790

    [SOLVED] Re: Sorting issues.

    Hello Santroi!

    a.remove(i);
    a.add(i, a.get(posmax));

    You are removing the element in the i-th position of your list and then you try to add in it a.get(posmax). But from your inner for loop,...
Results 1 to 2 of 2