Added options to sort output

Added your suggested changes. Why is it that although I have it as '-n' in the code for it to work I have to use '--n' in Terminal. I'm currently running it as 'python main.py --argument'. Is this correct or is there a better way to run this application?