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'. code example
Example: python sort multiple keys
records.sort(
key = lambda l: (l[0], l[2])
)
records.sort(
key = lambda l: (l[0], l[2])
)