# Stack-ranking question?

**URL:** <https://community.glideapps.com/t/stack-ranking-question/76697>\
**Category:** Ask for Help\
**Created:** [September 29, 2024, 3:14pm UTC](https://community.glideapps.com/t/stack-ranking-question/76697 "2024-09-29T15:14:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jessie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jessie/32/57740_2.png) [@Jessie](https://community.glideapps.com/u/Jessie)\
**Post date:** [September 29, 2024, 3:14pm UTC](https://community.glideapps.com/t/stack-ranking-question/76697/1 "2024-09-29T15:14:22Z")

</div>

Has anyone created a solution for stack-ranking in Glide? I have surveys where users stack-rank what’s important to them by clicking and dragging up/down, so most important is at top. Since Glide forms aren’t as sophisticated in form fields, I’m wondering if anyone has another suggestion.

Thanks!

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 29, 2024, 3:26pm UTC](https://community.glideapps.com/t/stack-ranking-question/76697/2 "2024-09-29T15:26:13Z")

</div>

I don’t think you could achieve this yet by dragging up and down.

However you can definitely achieve this by displaying a collection and two item collection actions “Move up” and Move down". Behind the actions are +1 and -1 increments with conditions on the first and last items where “Move up” will be hidden if index equals 0 and “Move down” will be hidden if index equals max of number of items in the collection.

---

<div class="post-metadata">

**Author:** ![micheal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/micheal/32/80181_2.png) [@micheal](https://community.glideapps.com/u/micheal)\
**Post date:** [September 29, 2024, 4:14pm UTC](https://community.glideapps.com/t/stack-ranking-question/76697/3 "2024-09-29T16:14:44Z")

</div>

would this work if the users have up to 20 surveys?

---

<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:** [September 29, 2024, 11:52pm UTC](https://community.glideapps.com/t/stack-ranking-question/76697/4 "2024-09-29T23:52:11Z")

</div>

If you’re asking about Nathanael’s method above, it would work regardless of the number of surveys.

---

<div class="post-metadata">

**Author:** ![Jessie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jessie/32/57740_2.png) [@Jessie](https://community.glideapps.com/u/Jessie)\
**Post date:** [September 30, 2024, 1:43am UTC](https://community.glideapps.com/t/stack-ranking-question/76697/5 "2024-09-30T01:43:32Z")

</div>

Great solution @nathanaelb 🎉  
Thank you.

---

<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:** [October 7, 2024, 1:44am UTC](https://community.glideapps.com/t/stack-ranking-question/76697/6 "2024-10-07T01:44:15Z")

</div>

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