I feel like I’m missing something simple here. My articles are sorting correctly (most recent first) but the pages seem to separate them incorrectly:
Page 1
Article 6
Article 7
Article 8
Article 9
Page 2
Article 1
Article 2
Article 3
Article 4
Article 5
How do I get Article 1 to show up on Page 1?
Current code
<?php $tag = urldecode(param('tag'));
$articles = $pages->find('blog')
->children()
->visible()
->filterBy('tags', $tag, ',')
->flip()
->paginate(5);