using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace ProgramConsole
{
public class Program
{
public static void Main(string[] args)
{
List<String> listCustomFields = new List<String>() { "FirstName", "MiddleName", "Class" };
listCustomFields = listCustomFields.OrderBy(n => n).ToList();
foreach (var item in listCustomFields)
{
Console.WriteLine(item);
}
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnM7CnVzaW5nIFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljOwp1c2luZyBTeXN0ZW0uR2xvYmFsaXphdGlvbjsKdXNpbmcgU3lzdGVtLkxpbnE7CnVzaW5nIFN5c3RlbS5MaW5xLkV4cHJlc3Npb25zOwp1c2luZyBTeXN0ZW0uVGV4dDsKCm5hbWVzcGFjZSBQcm9ncmFtQ29uc29sZQp7CiAgICBwdWJsaWMgY2xhc3MgUHJvZ3JhbQogICAgewogICAgICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKHN0cmluZ1tdIGFyZ3MpCiAgICAgICAgewogICAgICAgICAgICBMaXN0PFN0cmluZz4gbGlzdEN1c3RvbUZpZWxkcyA9IG5ldyBMaXN0PFN0cmluZz4oKSB7ICJGaXJzdE5hbWUiLCAiTWlkZGxlTmFtZSIsICJDbGFzcyIgfTsKICAgICAgICAgICAgbGlzdEN1c3RvbUZpZWxkcyA9IGxpc3RDdXN0b21GaWVsZHMuT3JkZXJCeShuID0+IG4pLlRvTGlzdCgpOwoKICAgICAgICAgICAgZm9yZWFjaCAodmFyIGl0ZW0gaW4gbGlzdEN1c3RvbUZpZWxkcykKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoaXRlbSk7CiAgICAgICAgICAgIH0KCiAgICAgICAgfQogICAgfQp9