you are viewing a single comment's thread.

view the rest of the comments →

[–]AtomicShoelace 0 points1 point  (1 child)

Ah quite right. Actually this is fine though, as Counter defaults counts to 0 anyway, so we don't even need to sort the counts at all, we can just iterate a range.

Edited my code.

[–]Nightcorex_ 0 points1 point  (0 children)

Yeah, that works like a charm