This question already has an answer here: Sorting a .... It's better use LINQ for that. Look at example
stackoverflow.com