<s>[INST] import itertools

def solution(numbers):
    from itertools import permutations
    per_list = list(permutations(numbers))
    per_list.sort()
    return per_list[-1]

numbers = [6, 10, 2]
print(solution(numbers))

# Expected output: (2, 10, 6) -> 6210
# But why (6, 2, 10) -> 6210 is not acceptable?[/INST]