Actually fix sorting by host with pathless URLs.