Human: Write me a Python code to sort the same values. Assistant: 
Here is a Python code to sort the same values

import collections

def sort_same(list):
    """Sort the same values"""
    return sorted(list, key=lambda x: x[0])

# Enter the list
myList = [(1, 'a'), (1, 'b'), (2, 'c'), (2, 'd'), (3, 'e'), (3, 'f')]

# Calling the function
print((sort_same(myList)))

#Example Output
# [(1, 'a'), (1, 'b'), (2, 'c'), (2, 'd'), (3, 'e'), (3, 'f')]

#Remember to inspect code for bugs.