Datagrid sorting by non alphabetical sorting?
I have a datagrid with columns using the .sort method to sort the information. It's working the way I want it to in all of them except 1 of them. This one needs to be sorted by something other than alphabetical order. The column has a type in it that only can be 1 of 8 different things that occur in a certain order, and if they are put into alphabetical order they aren't in chronological order on the datagrid.. is there a way to make the <datagrid>.sort method sort other than alphabetically?
|