Sort subpages randomly


I am trying to randomly sort a limited group of subpages on each reload of the page.
This is my current call for the pages, which works, though it sorts the pages either ascending or descending (currently descending).

<?php foreach(page('roster')->children()->visible()->sortBy('modified', 'desc')->limit(3) as $project): ?>

<?php endforeach ?>

I’d like to have them completely random if possible.

Thank you.

foreach(page('roster')->childeren()->visible()->shuffle()->limit(3) as $project) :

Perfect! Thank you so much!

You’re welcome :smile: