Order trends by number of logs appearances when choosing limit option.