original_docstring: Converts the provided dictionary into a collections.OrderedDict.
          The items in the returned OrderedDict will be inserted based on the
          natural sort order of the keys. Nested dictionaries will also be sorted
          in order to ensure fully predictable ordering.
          :param orderme: the dict to order
          :return: collections.OrderedDict
          :raises: ValueError: if `orderme` isn't a dict instance.
          
docstring: Converts the provided dictionary into a collections.OrderedDict.
  The items in the returned OrderedDict will be inserted based on the
  natural sort order of the keys. Nested dictionaries will also be sorted
  in order to ensure fully predictable ordering.
docstring_tokens: Converts the provided dictionary into a collections . OrderedDict . The items in the returned OrderedDict will be inserted based on the natural sort order of the keys . Nested dictionaries will also be sorted in order to ensure fully predictable ordering .
code: def ordered(self, orderme):
          """Converts the provided dictionary into a collections.OrderedDict.
          The items in the returned OrderedDict will be inserted based on the
          natural sort order of the keys. Nested dictionaries will also be sorted
          in order to ensure fully predictable ordering.
          :param orderme: the dict to order
          :return: collections.OrderedDict
          :raises: ValueError: if `orderme` isn't a dict instance.
          """
          if not isinstance(orderme, dict):
              raise ValueError('argument must be a dict type')
          result = OrderedDict()
          for k, v in sorted(six.iteritems(orderme), key=lambda x: x[0]):
              if isinstance(v, dict):
                  result[k] = self.ordered(v)
              else:
                  result[k] = v
          return result
code_tokens: def ordered ( self , orderme ) : if not isinstance ( orderme , dict ) : raise ValueError ( 'argument must be a dict type' ) result = OrderedDict ( ) for k , v in sorted ( six . iteritems ( orderme ) , key = lambda x : x [ 0 ] ) : if isinstance ( v , dict ) : result [ k ] = self . ordered ( v ) else : result [ k ] = v return result
short_docstring: Converts the provided dictionary into a collections.OrderedDict.
short_docstring_tokens: Converts the provided dictionary into a collections . OrderedDict .
comment: """Converts the provided dictionary into a collections.OrderedDict.
          The items in the returned OrderedDict will be inserted based on the
          natural sort order of the keys. Nested dictionaries will also be sorted
          in order to ensure fully predictable ordering.
          :param orderme: the dict to order
          :return: collections.OrderedDict
          :raises: ValueError: if `orderme` isn't a dict instance.
          """