# Need Help Shuffling A Card Deck

**URL:** <https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266>\
**Category:** Ask for Help\
**Created:** [October 25, 2023, 4:08am UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266 "2023-10-25T04:08:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riann\_Grant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/riann_grant/32/65649_2.png) [@Riann\_Grant](https://community.glideapps.com/u/Riann_Grant)\
**Post date:** [October 25, 2023, 4:08am UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266/1 "2023-10-25T04:08:02Z")

</div>

Hello ! I am trying to create a game. After user has gone through all questions I would like a shuffle button that re-orders the questions. I am not sure how to go about this. I did see some videos about including a Java script and I’ve added the code but it still doesn’t work. Also I saw info the time stamp so the shuffle could happen more than once not sure how to go about that either… Please help 🙂

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 26, 2023, 3:41am UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266/2 "2023-10-26T03:41:34Z")

</div>

Not sure about how you have your flow for now (about the part gone through all questions), but have you tried a combination of a “sort randomly” collection and a “shuffle order” button?

---

<div class="post-metadata">

**Author:** ![Riann\_Grant](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/riann_grant/32/65649_2.png) [@Riann\_Grant](https://community.glideapps.com/u/Riann_Grant)\
**Post date:** [November 1, 2023, 4:00pm UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266/3 "2023-11-01T16:00:01Z")

</div>

Hello, thank you for your response. I did try this combination and it worked. Thank you.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 1, 2023, 11:16pm UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266/4 "2023-11-01T23:16:42Z")

</div>

Great to hear!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 8, 2023, 11:17pm UTC](https://community.glideapps.com/t/need-help-shuffling-a-card-deck/67266/5 "2023-11-08T23:17:09Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
