3 Replies Latest reply on Jun 17, 2008 4:54 AM by Raymond Basque

    How can I do a Locale-sensitive sort?

    Miguel_Munoz
      Comrades,

      I figured out how to do a case-insensitive sort, but I have a bigger problem. Our customers speak French, and my sorts need to be sensitive to diacritical marks. But with sorting in flex, if I sort Elian, Elián, Elise, they come back as Elian, Elise, Elián. I need a sort that will treat a and á as the same character.

      Is there an ActionScript equivalent of Java's CollationKey? That's really what I need, but I haven't found one.