Cleaned up ssort.py