Add collator for sorting.

This commit is contained in:
Christian P. MOMON 2014-05-26 01:43:30 +02:00
parent 9b41dfcb78
commit e66b522fae

View file

@ -19,6 +19,7 @@
package fr.devinsy.util; package fr.devinsy.util;
import java.io.IOException; import java.io.IOException;
import java.text.Collator;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
@ -551,7 +552,7 @@ public class StringList extends ArrayList<String> implements CharSequence
{ {
StringList result; StringList result;
Collections.sort(this); Collections.sort(this, Collator.getInstance());
// //
result = this; result = this;