i have tested this with a smaller sample of count ~20 and then limiting it to 5 per page and looks like it comes sorted by id.
I would get the count first and loop over till last.
i have tested this with a smaller sample of count ~20 and then limiting it to 5 per page and looks like it comes sorted by id.
I would get the count first and loop over till last.