Updated the sort and changed to .py