using System; using System.Collections.Generic; using System.Linq; public class MainClass { public static void Main() { string[] musos = { "D C", "R B", "W A" }; IEnumerable<string> query = musos.OrderBy(m => m.Split().Last()); } }