I want to make a primitive personalized feed in a `NodeJS+MySQL` website. Now I just select all the posts that have specific tags in them:

```
SELECT column1, column2... 
FROM table 
WHERE tags = users_tags 
ORDER BY relavance 
LIMIT 8;

```

I want to also throw in a couple of popular posts eg:

```
SELECT column1, column2... 
FROM table 
ORDER BY relevance 
LIMIT 2;

```

I don't want to use UNION because I want to retain the ordering from my first select and insert a popular result for every 5th post. Eg.: relevant, relevant, relevant, relevant, popular, relevant...

For now, I've results1.concat(results2) which adds them as the last two, and returned it. Then I had a for loop that would append the to HTML normally for the first 4 and then one from the back for every 5th.

Is there any better solution?