import operator


def sort_values(values: list[tuple]) -> list[tuple]:

    """Returns a list of tuples sorted by x value (the value at index 0 of the inner tuple."""

    return sorted(values, key=operator.itemgetter(0))