def sort_nicely(l):
    ' Sort the given list in the way that humans expect.\n    '
    l.sort(key=alphanum_key)
Sort the given list in the way that humans expect.
def sort_nicely(l):
    ' \n    '
    l.sort(key=alphanum_key)