I have 4 custom post types, say for example pt1, pt2, pt3 and pt4.
They all use the same taxonomies to categories them. On the taxonomy archive page, I would like the posts to be grouped by post-type, so any posts in pt1 appear first, then pt2, pt3 etc - at the moment they use the default ordering (which I assume is post date) so are all mixed up.
I tried to run separate queries for each post type, but this messed up the pagination. Thanks in advance!