Records are [name, score]. Write rank(records) returning names sorted by score high to low, ties by name A→Z.
rank([['Asha', 80], ['Ravi', 95], ['Kiran', 80]]) → ['Ravi', 'Asha', 'Kiran']
rank([]) → []
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.