How to Naturally/Numerically Sort a DataView?


How to Naturally/Numerically Sort a DataView?



I am wondering how to naturally sort a DataView... I really need help on this. I found articles out there that can do lists with IComparable, but I need to sort the numbers in my dataview.

They are currently alpha sorted because they are numbers with 'commas' in them. Please help me out.

I would like to find something instead of spending the time to create it my self.

P.S. expression and sortdirection work, but they of course Alpha sort. Please help.




Is buffer overflow/overrun possible in completely managed asp.net c# web application

1:



Implementing cache correctly in a class library for use in an asp.net application
I often like to add a "SortOrder" column to results that I want to sort in a way other than is provided by the data.


Server Error in '/' Application
I usually use an integer and just add it when I am getting the data..
Handling Long Running Reports
I don't show this column and only use it for the purposes of establishing the order..
How can I easily turn a .Net Windows Form app into an Asp.net app using Visual Studio 2005?
I'm not sure if this is what you are looking for, but it is quick and easy and gives you a great deal of control..
CSS Layout, Vis Studio 2005, and AJAX Tab Container


What is the best free, Ajax.NET (System.Web.Extensions 3.5) compatible Rich Text Box control?


Remote clients Can't open XLS file using ASP.NET/ADO

2:





70 out of 100 based on 80 user ratings 1030 reviews