using System.Collections.Generic;
public static void Main()
List<string> allThePaths = new List<string>()
List<string> sortedPaths = allThePaths
.OrderBy(stringItem => stringItem.Length)
.ThenBy(stringItem => stringItem).ToList();
foreach (var path in sortedPaths)