/// <summary> /// /// </summary> public static void Test() { Solution s = new Solution(); string[] logs1 = new[] { "a1 9 2 3 1", "g1 act car", "zo4 4 7", "ab1 off key dog", "a8 act zoo" }; var results = s.ReorderLogFiles(logs1); foreach (var result in results) { Console.WriteLine(result); } }