Update sorting.py
Merge pull request #1 from ams-bjones/master

Update sorting.py