Sort:  

tracktags is a set in that case. Otherwise I'd need nested loops to check all the combinations. I will use loops in some cases. I know there's a thing called 'code golf' where people try to implement something in as few characters as possible. That will end up with unreadable code. I try to make mine maintainable by others.

I know there's a thing called 'code golf' where people try to implement something in as few characters as possible.

I remember this from the Perl days.. crazy!