langchain/prompts/example_selector/semantic_similarity.py/sorted_values
def sorted_values(values: Dict[str, str]) -> List[Any]:
    """Return a list of values in dict sorted by key."""
    return [values[val] for val in sorted(values)]