takes in desc and sort from sys.argv and parses