Add collator for sorting.
This commit is contained in:
parent
9b41dfcb78
commit
e66b522fae
1 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
package fr.devinsy.util;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.text.Collator;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
|
@ -551,7 +552,7 @@ public class StringList extends ArrayList<String> implements CharSequence
|
|||
{
|
||||
StringList result;
|
||||
|
||||
Collections.sort(this);
|
||||
Collections.sort(this, Collator.getInstance());
|
||||
|
||||
//
|
||||
result = this;
|
||||
|
|
Loading…
Reference in a new issue