SFTP: reset sort options every time and update unit test