removed old sorter implementation and merged code into stats.py