How to get java.io.File.list()
same order as in Windows Explorer?
In a program I am creating the Temp
folders e.g. Temp1
, Temp2
and so on. But when I use java.io.File.list()
to retrieve the folder list, it gives as Temp1
, Temp10
and so on.
Please tell how to get the same order list as showing in Windows Explorer?
Thanks