This is a bit of the pain in the ass.

Currently it;
- selects the challenges
- allows only the visible ones
- splits into groups
- orders
- ???

It would be nicer if we could first randomize it and then paginate it.
But, if we do this, switching from page1 to page2 would re-randomize it (so you might see the same challenges on page1 as page2)