C# LINQ
It seems like all answers including the explination use a ton of built in methods so why not use LINQ lol\n\n    public string[] ReorderLogFiles(string[] logs) 
It seems like all answers including the explination use a ton of built in methods so why not use LINQ lol\n```\n    public string[] ReorderLogFiles(string[] logs) \n    {\n        return logs\n            .Where(l => !IsDigit(l))\n            .OrderBy(l => l.Split(" ", 2)[1])\n            .ThenBy(l => l.Split(" ", 2)[0])\n            .Union(logs\n\t\t\t\t.Where(l => IsDigit(l)))\n            .ToArray();\n    }\n    \n    private bool IsDigit(string log)\n    {\n        return char.IsDigit(log[log.IndexOf(\' \') + 1]);\n    }\n```
[]