# Sort By Random Order Does not change

**URL:** <https://forum.bubble.io/t/sort-by-random-order-does-not-change/238995>\
**Category:** Database\
**Created:** [December 29, 2022, 10:32am UTC](https://forum.bubble.io/t/sort-by-random-order-does-not-change/238995 "2022-12-29T10:32:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madvaultllc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/madvaultllc/32/117590_2.png) [@madvaultllc](https://forum.bubble.io/u/madvaultllc)\
**Post date:** [December 29, 2022, 10:32am UTC](https://forum.bubble.io/t/sort-by-random-order-does-not-change/238995/1 "2022-12-29T10:32:42Z")

</div>

Hello,

For the last 2 days I’ve been stuck trying to get Sort by Random Order to work. It appears I’m not the only one with this issue.

I have a list of 20 questions, I want to do a search for the 20 questions, sorted randomly, then select the first 6 from the list. This works on first page load. However, if I reload the page, the same order is displayed no matter what I do.

From what I can tell, sort by random order is either being cached somewhere or isn’t really sorting.

Ideally, I’d like to be able to reload the repeating group with a different set of random questions if the user fails the quiz however that’s not working.

Display list in repeating group displays the same data. Using a custom state and storing questions in that returns the same list. Reloading the page completely returns the same list.

Is this a bug?

cheers,

---

<div class="post-metadata">

**Author:** ![ankur1](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@ankur1](https://forum.bubble.io/u/ankur1)\
**Post date:** [December 29, 2022, 7:25pm UTC](https://forum.bubble.io/t/sort-by-random-order-does-not-change/238995/2 "2022-12-29T19:25:25Z")

</div>

It may be a big-

If you read its documentation-

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/f/2f83382e0e845175fcb5f053c31bc52001620243.png)

It should change the order on each refresh. It’s better to report on Bubble support.

One workaround-

If it is caching the response locally, instead of “do a search for”, call the Bubble API by passing a unique string into the API header.

**Ankur@Nocodetalks**  
Looking for a Bubble Coach? [![Buy Bubble.io mentorship](https://us1.discourse-cdn.com/bubble/original/3X/c/7/c7a36948540a6e3441d947ec78252e7be5a92d6f.png)](https://nocodetalkss.gumroad.com/l/bubble_mentorship)

---

<div class="post-metadata">

**Author:** ![madvaultllc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/madvaultllc/32/117590_2.png) [@madvaultllc](https://forum.bubble.io/u/madvaultllc)\
**Post date:** [December 30, 2022, 8:12am UTC](https://forum.bubble.io/t/sort-by-random-order-does-not-change/238995/3 "2022-12-30T08:12:14Z")

</div>

Yes, Random Sorting definitely is not working. I have submitted a support ticket.

I would prefer not to enable the API just to get around something that should work.
