what's the proper way to write comparator as key in python 3 for sorting?,"print(sorted(l, key=lambda x: x))"