Remove punctuation from file and sort by keys and values