Update sort.py

imported sys and fixed __name__