Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1.create an ArrayCollection like following:
<s:ArrayCollection id="dataArrSp">
<fx:Object f1="Airplane" f2="1"/>
<fx:Object f1="airplane" f2="2"/>
<fx:Object f1="boat" f2="3"/>
<fx:Object f1="Boat" f2="4"/>
</s:ArrayCollection>
2.create a Spark:SortField and Spakr:Sort under Declaration tag, set name property of SortField to "f1". set fields property of Sort to
.
3.set sort property of data source ArrayCollection to sortInstance, then call refresh() method.
Actual Results:
the result is same as mx Sort, which mean A > B > a > b.
Expected Results:
1. The result should be same as flash.globalization.Collator, Sorting mode, for example "airplane" should less than "Airplane".
2. when user set different locale, the sort result should be changed accordion to locale's value, especially, in this sample, "fr" and "de".
Workaround (if any):
Please see detail in sample codes attached.