I use this function:
files = Directory.GetFiles(tbDirectory.Text).ToArray();
and my files saved in this order:
Text.txt
Text_10.txt
Text_2.txt
...
Text_9.txt
I want them to be sorted like windows does:
Text.txt
Text_2.txt
...
Text_9.txt
Text_10.txt
How I can do that?