intent: Sorting a list of tuples by the addition of second and third element of the tuple
rewritten_intent: sort a list of tuples `a` by the sum of second and third element of each tuple
snippet: sorted(a, key=lambda x: (sum(x[1:3]), x[0]), reverse=True)