parameters: (self)
docstring: Sort the values of ``from_bcp_47`` in ascending rank order.
docstring_summary: Sort the values of ``from_bcp_47`` in ascending rank order.
docstring_tokens: Sort the values of from_bcp_47 in ascending rank order .
function: def sort_languages (self):
  		"""Sort the values of ``from_bcp_47`` in ascending rank order."""
  		for language, tags in self.from_bcp_47.items ():
  			self.from_bcp_47[language] = sorted (tags,
  					key=lambda t: (self.ranks[t] + rank_delta (language, t), t))
function_tokens: def sort_languages ( self ) : for language , tags in self . from_bcp_47 . items ( ) : self . from_bcp_47 [ language ] = sorted ( tags , key = lambda t : ( self . ranks [ t ] + rank_delta ( language , t ) , t ) )