From e66b522fae3496ca411bd16cb692b2bb515b8303 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 26 May 2014 01:43:30 +0200 Subject: [PATCH] Add collator for sorting. --- src/fr/devinsy/util/StringList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fr/devinsy/util/StringList.java b/src/fr/devinsy/util/StringList.java index 22dc006..31ab8c0 100755 --- a/src/fr/devinsy/util/StringList.java +++ b/src/fr/devinsy/util/StringList.java @@ -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 implements CharSequence { StringList result; - Collections.sort(this); + Collections.sort(this, Collator.getInstance()); // result = this;