Sort order problem in when i read files from output folder path ...

Posted by Divs99 under C# on 6/5/2012 | Points: 10 | Views : 885 | Status : [Member] | Replies : 0
Sort order problem in when i read files from output folder path ...
Directory



.GetFiles(this.OutputFolder)



see below example in output folder i am having filenames in this order

00001-just
00002-sar
00003-emm
00004-kat
00005-sall
54-frank
59-king
63-abdalla
76-clark
406-venture

while reading from folder by using Directory.GetFiles(this.OutputFolder) iam getting order in this way

00001-just
00002-sar
00003-emm
00004-kat
00005-sall
406-venture
54-frank
59-king
63-abdalla
76-clark


pls help me out......i want the same order which i have in outputfolder ..while getting files from folder.....




Responses

(No response found.)

Login to post response