sort results by number of tokens
switched to text-table for tables