Using the built in sort I get 

angus
192.12
187.34
hello 
range
zoolu

Wonder if their is a space or return before it in the data I am given? Not sure 
if that would affect it.




--- In [email protected], Alex Harui <aha...@...> wrote:
>
> The standard sort should sort those as:
> 
> 192.12
> angus
> hello
> range 39.30 - 34.50
> zoolu 12
> 
> What did you want instead?  It will probably require a custom sort function
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of flexaustin
> Sent: Wednesday, June 10, 2009 8:43 AM
> To: [email protected]
> Subject: [flexcoders] Sort: Datagrid sorting numbers and strings
> 
> 
> 
> 
> 
> So I have a datagrid that has columns that can contain a number or string or 
> both. I was wondering if anyone has seen a sort function that can handle 
> this. Below is a sample of the types of data that can be in a column.
> 
> 192.12
> hello
> angus
> range 39.30 - 34.50
> zoolu 12
> 
> Anyway to sort these?
>


Reply via email to