docs: def re_sort(data):
      """
      A data with keys that are not enumerated sequentially will be
      re sorted and sequentially ordered.
  
      For example::
  
          >>> data = {16: ('1', 'b'), 3: ('1', 'a')}
          >>> re_sort(data)
          >>> {0: ('1', 'a'), 1: ('1', 'b')}
      """
      keys = sorted(data.keys())
      new_data = {}
      for number, key in enumerate(keys):
          new_data[number] = data[key]
      return new_data