Any idea how to influence the order in a dynamically generated category-/ tag-cloud?

This thread had the same question (apart from the recent part):

I thought I had already answered that recent question last week?

You just have to place this below where you define the tags (apart from the line that defines the tags variable.