example: order word buttons by frequency