FTP file listings are not required to be in any specific order. Sorting is done by the client. I'm not a developer but the non-linear order of files is due to how the buffering/list parsing is done.
↧