def mount(self, prefix, adapter):
        """Registers a connection adapter to a prefix.

        Adapters are sorted in descending order by key length."""
        self.adapters[prefix] = adapter
        keys_to_move = [k for k in self.adapters if len(prefix) < len(k)]
        for key in keys_to_move:
            self.adapters[key] = self.adapters.pop(key)
dataset/ETHPy150Open Bolton-and-Menk-GIS/restapi/restapi/requests/sessions.py/Session.mount/swapped operands of `<`