docs: def _get_pos(self, key):
          """Get the index of the given key in the sorted key list.
  
          We return the position with the nearest hash based on
          the provided key unless we reach the end of the continuum/ring
          in which case we return the 0 (beginning) index position.
  
          :param key: the key to hash and look for.
          """
          p = bisect(self.runtime._keys, self.hashi(key))
          if p == len(self.runtime._keys):
              return 0
          else:
              return p