Update sort.py

made output file a fixed argument, output will be printed to separate file