Fix script print_usage for python3

AttributeError: 'dict_items' object has no attribute 'sort'
This line is not needed anymore. You can modify this PR by modifying on the ``patch-2`` branch.