changes to sorttest.py