# File lib/pry-remote-em/client.rb, line 149
    def sort_server_list(list)
      type = opts[:sort] || :host
      case type
      when :name
        list.sort { |a,b| a[1] <=> b[1] }
      when :host
        list.sort { |a,b| a[0].host <=> b[0].host }
      when :ssl
        list.sort { |a,b| b[0].scheme <=> a[0].scheme }
      when :port
        list.sort { |a,b| a[0].port <=> b[0].port }
      else
        list.sort { |a,b| a[0].host <=> b[0].host }
      end
    end