Improve sorting by host with pathless URLs.