I am currently creating a tag cloud that currently displays the tag based on it’s weight, i.e. the frequency it has been used to tag articles.
Now, I have also, in the administration section, where I can manage tags, the ability to move tags up and down (using an order_id field).
What this means, is that I need a solution, where the tags will not only be listed in terms of weight, but also by order_id.
Is this possible?
You can specify multiple expressions in an ORDER BY clause. This will order first by the user-specified order_id column, then for any tags with equal order_id values, by their weight.