human
sort the same values.
assistant
Here is a Python function to sort the same values

import random

def sort_same_values(list):
    """Sorts a list of values."""
    return sorted(list, key=lambda x: x[0])

# Enter the list
list = [("a", "1"), ("a", "2"), ("b", "1"), ("b", "2"), ("c", "1"), ("c", "2")]

# Calling the function
print((sort_same_values(list)))

#Example Output
# [('a', '1'), ('a', '2'), ('b', '1'), ('b', '2'), ('c', '1'), ('c', '2')]

#Remember to inspect code for bugs.