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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of flexaustin
Sent: Wednesday, June 10, 2009 8:43 AM
To: flexcoders@yahoogroups.com
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?