, , ?
var paths = new List<string>
{
"\\New Folder",
"\\New Folder\\tools",
"\\Windows",
"\\Windows\\System32",
"\\New Folder\\tools\\1",
};
var result = paths.OrderByDescending(s => s);
, string[], :
Array.Sort(paths);
Array.Reverse(paths);
:
\ Windows\System32
\ Windows
\ \tools\1
\ \
\