The `sftp` `ls` command ignores all sorting flags, for globbed listings. Note a lack of `LS_*_SORT` flags use in the `do_globbed_ls` function, contrary to non-globbed `do_ls_dir`. Posted based on: http://serverfault.com/q/839005/168875
Created attachment 2991 [details] implement sorting for globbed ls This implement sorting for globbed ls.
Patch applied. This will be in OpenSSH 7.6
closing resolved bugs as of 8.6p1 release