I want to sort numbers numerically (like "1, 3, 10") rather
than alphabetically ("1, 10, 3" ). Everything I've found uses
ActionScript work-arounds on the underlying dataprovider. But
surely I'm missing something and there's an easier way.
First, make sure your data is in fact numbers and not a
string with numerials in it. This is one of those things I can't
seem to keep in my head, so you'll need to experiment first. If
that doesn't work (I think it will), then you need to create a Sort
and a SortItem. The Sort is added to the dataProvider collection,
not to the DataGrid.