I create three folders:
File.MakeDir(File.DirInternal,"aaa")
File.MakeDir(File.DirInternal,"bbb")
File.MakeDir(File.DirInternal,"ccc")
Then I display them in the list:
Dim temp As List
temp=File.ListFiles(File.DirInternal)
The list consists of aaa, bbb, ccc.
Next, I delete the folder aaa:
File.Delete(File.DirInternal&"/aaa","")
And again I display the list:
Dim temp As List
temp=File.ListFiles(File.DirInternal)
Now the list consists of bbb, ccc.
I am adding a new folder:
File.MakeDir(File.DirInternal,"ddd")
Dim temp As List
temp=File.ListFiles(File.DirInternal)
Now the list should consist of bbb, ccc, ddd. But the list turns out ddd, bbb, ccc. Why is this happening? Why did not the ddd folder go to the end of the list?
File.MakeDir(File.DirInternal,"aaa")
File.MakeDir(File.DirInternal,"bbb")
File.MakeDir(File.DirInternal,"ccc")
Then I display them in the list:
Dim temp As List
temp=File.ListFiles(File.DirInternal)
The list consists of aaa, bbb, ccc.
Next, I delete the folder aaa:
File.Delete(File.DirInternal&"/aaa","")
And again I display the list:
Dim temp As List
temp=File.ListFiles(File.DirInternal)
Now the list consists of bbb, ccc.
I am adding a new folder:
File.MakeDir(File.DirInternal,"ddd")
Dim temp As List
temp=File.ListFiles(File.DirInternal)
Now the list should consist of bbb, ccc, ddd. But the list turns out ddd, bbb, ccc. Why is this happening? Why did not the ddd folder go to the end of the list?