Quote Originally Posted by motil View Post
Ok, I'm reading of the sorting methods from Gary's example above and i'm wondring, performance wise, should I use SQL sort when method or the .NET IComparable sort method?

and how do you prefer organize your classes, each one in a different page or putting them all together.
Hey,

If you can do the sort at the database level when you are requesting the data then yes, it would make sense to do this here. This may involve passing a parameter through to the query to indicate how the data should be sorted.

However, in some cases, once you have the data, you would still want to be able to perform a sort, without having to first go back to the database.

Gary