Bugfix and abstraction for psort.py
Removing single letter suffixes.