I'm reading some files from a folder with :
foreach (string file in Directory.EnumerateFiles(<folder>, "Client_*.txt"))
{
//Do my stuff
}
If I have the files Client_999.txt and Client_1000.txt , the Client_1000.txt file is always processed first.
This always happens with _9 and _10; _99 and _100; _999 and _1000; etc...
Is there any ordering option to make this work?