Replying to @wolframkriesing

@wolframkriesing
@JSCraftCamp
[...document.querySelectorAll('.card-tags-container')].map(n =>
n.innerText).filter(t => t).join(' ').split(' ').sort().map(t =>
t.toLowerCase()).reduce((c, t) => ({...c, [t]: c[t] ? ++c[t] : 1}), {})

... but AFAIK no way to sort by count without assignment.
Embedded Photo

Mon, 03 Jun 2019 13:56:11 UTC21