What is the correct way to sort the list 'B' using a method, the result should not return a new list, just change the list 'B' in python code example
Example 1: python sort multiple keys
records.sort(
key = lambda l: (l[0], l[2])
)
Example 2: What is the correct way to sort the list 'B' using a method, the result should not return a new list, just change the list 'B' in python
records.sort(
key = lambda l: (l[0], l[2])
)