string[] l_Data = { "1", "22", "333" }; l_Data = l_Data.OrderByDescending(x => x.Length).ToArray(); Console.WriteLine(l_Data);