using System;
using System.Linq;
public class Program
{
public static void Main()
string[] stringArray=new string[]
"D",
"A",
"Z",
"C",
"R"
};
var sort=from sa in stringArray orderby sa select sa;
foreach(string c in sort)
Console.WriteLine(c);
}