Human: How to sort in decreasing value first then increasing in second value Assistant: 
Here is some code to sort list `student_tuples` by second element of each tuple in ascending and third element of each tuple in descending

print(sorted(student_tuples, key=lambda t: (-t[2], t[0])))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.