shell: Keep hosts sorted in the switcher.