Let's say you want to show posts tagged with tags : "HTML, CSS".
I want to order posts in tag archive in the following order:
Post tagged with only exact two tags - HTML,CSS
Post tagged with only exact two tags - HTML, CSS
Posts tagged with three tags - HTML, CSS, jQuery
Posts tagged with three tags - HTML, CSS, ZEND
Posts tagged with four tags - HTML, CSS, JavaScript, PHP
etc.
So first result/s should only output posts with only exact specified tags. After there are no more posts tagged with only those two tags, output posts tagged those 2 tags + only one more tag. And so on.
What should I use? Two wpQueryPosts loops? Can it be done with only one loop? How to sort by matched tags?