Created by: 425776024
solve TypeError: 'cmp' in Python3 . The functools.cmp_to_key() utility is available to convert a 2.x style cmp function to a key function