C# Solution
\npublic class Solution {\n    public string[] ReorderLogFiles(string[] logs) {\n        var digits = logs.Where(x=>Char.IsDigit(x.Split(" ",2)[1][0])).ToArray(
```\npublic class Solution {\n    public string[] ReorderLogFiles(string[] logs) {\n        var digits = logs.Where(x=>Char.IsDigit(x.Split(" ",2)[1][0])).ToArray();\n        var letters = logs.Except(digits).Select(x=>x).OrderBy(x=>x.Split(" ",2)[1]).ThenBy(x=>x.Split(" ", 2)[0]);\n        return letters.Concat(digits).ToArray();\n    }\n}\n```
[]