Finished sort.py