Sort dep args in the ssh command, for testability.

Depending on the ruby version, hashes may or may not be sorted, so we avoid differing behaviour by always sorting sorting ourselves.