Make a sortedlist of tokens in a file