Update sort.py

-r is working, but fixing -o