modify syntax error of post sort-python-dict