I have a list with this kind of values:
list[0] = "myvalue_8" list[1] = "myvalue_9" list[2] = "myvalue_15" list[3] = "myvalue_12"
When I sort my list like that:
Collections.sort(myList);
The result is:
list[0] = "myvalue_12" list[1] = "myvalue_15" list[2] = "myvalue_8" list[3] = "myvalue_9"
instead of:
list[0] = "myvalue_8" list[1] = "myvalue_9" list[2] = "myvalue_12" list[3] = "myvalue_15"
Thank you very much