input: Write a function to sort a list of records by the third element in descending order using lambda function.
  assert sortRecords([["Bob", 30, 80.50], ["James", 32, 65.78], ["Cameron", 27, 97.89], ["Grace", 24, 76.67]]) == [["Cameron", 27, 97.89], ["Bob", 30, 80.50], ["Grace", 24, 76.67], ["James", 32, 65.78]]
  assert sortRecords([["Alice", 25, 90.12], ["Eve", 28, 92.45], ["Dave", 29, 88.22]]) == [["Eve", 28, 92.45], ["Alice", 25, 90.12], ["Dave", 29, 88.22]]
  assert sortRecords([["Tom", 31, 85.50], ["Jerry", 29, 85.50], ["Spike", 35, 85.50]]) == [["Tom", 31, 85.50], ["Jerry", 29, 85.50], ["Spike", 35, 85.50]]
output: def sortRecords(records):
      return sorted(records, key=lambda x: x[2], reverse=True)