Added sorter function
Testsort .py