var fruits = new string[] { "Apple", "grapes", "Banana" }; var asc = fruits.OrderBy(m => m).ToList(); //ascending var desc = fruits.OrderByDescending(m => m).ToList(); //descending