using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
public static void Main()
{
var list = new List<string>() { "50:James", "23:Jessica", "70:Ricky", "70:Dodger", "50:Eric" };
var ordered = list.Select(s => new { Str = s, Split = s.Split(':') })
.OrderByDescending(x => int.Parse(x.Split[0]))
.ThenBy(x => x.Split[1])
.Select(x => x.Str)
.ToList();
foreach(string s in ordered)
Console.WriteLine(s);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKdXNpbmcgU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWM7CgpwdWJsaWMgY2xhc3MgVGVzdAp7CglwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCgl7CiAgICAgICAgdmFyIGxpc3QgPSBuZXcgTGlzdDxzdHJpbmc+KCkgeyAiNTA6SmFtZXMiLCAiMjM6SmVzc2ljYSIsICI3MDpSaWNreSIsICI3MDpEb2RnZXIiLCAiNTA6RXJpYyIgfTsKCQl2YXIgb3JkZXJlZCA9IGxpc3QuU2VsZWN0KHMgPT4gbmV3IHsgU3RyID0gcywgU3BsaXQgPSBzLlNwbGl0KCc6JykgfSkKICAgICAgICAgICAgLk9yZGVyQnlEZXNjZW5kaW5nKHggPT4gaW50LlBhcnNlKHguU3BsaXRbMF0pKQogICAgICAgICAgICAuVGhlbkJ5KHggPT4geC5TcGxpdFsxXSkKICAgICAgICAgICAgLlNlbGVjdCh4ID0+IHguU3RyKQogICAgICAgICAgICAuVG9MaXN0KCk7CiAgICAgICAgZm9yZWFjaChzdHJpbmcgcyBpbiBvcmRlcmVkKQogICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZShzKTsKCX0KfQ==