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: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Monday, October 01, 2007 4:56 PM
To: [email protected]
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