actually, my data is of type number and I am using a label function to
display it in a currency format.  I just used the commas to improve
readability for my forum post.

here is the actual data:

16559240.56
28022462.90
4101969.43
6472891.11


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> If your data is 28,000,000, the DG will now sort alphabetically because
> that isn't number, but rather a string.  I actually think the old
> behavior just chopped off 28, 16, 6 and 4 and sorted by those numbers
> such that 28,123,456 and 28,234,567 weren't guaranteed to be ordered.
> 
>  
> 
> If you want numeric sorting, data should be of type int or Number and a
> labelFunction should be used to format what you see.
> 
>  
> 
> This behavior become more strict in order to fix a bug where there was
> no way to specify non-numeric sorts in mixed alpha/number strings.
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Nate Pearson
> Sent: Monday, October 01, 2007 4:56 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] My column doesn't sort correctly in Flex 3 Beta 2
> 
>  
> 
> My column used to sort correctly, IE:
> 28,000,000
> 16,000,000
> 6,000,000
> 4,000,000
> 
> Now in Beta 2 with no code changes I get:
> 16,000,000
> 28,000,000
> 4,000,000
> 6,000,000
> 
> What gives? Is it sorting it alphabetically? If so how do I change
> it back to the way it was?
> 
> Thanks,
> 
> Nate
>


Reply via email to