new: action terminal_sort_by_hostname, and popup menu for tab buttons