# Reordering rows within a table using Up and Down Button

**URL:** <https://community.glideapps.com/t/reordering-rows-within-a-table-using-up-and-down-button/86077>\
**Category:** Ask for Help\
**Created:** [January 20, 2026, 9:29am UTC](https://community.glideapps.com/t/reordering-rows-within-a-table-using-up-and-down-button/86077 "2026-01-20T09:29:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosef](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yosef/32/93865_2.png) [@Yosef](https://community.glideapps.com/u/Yosef)\
**Post date:** [January 20, 2026, 9:29am UTC](https://community.glideapps.com/t/reordering-rows-within-a-table-using-up-and-down-button/86077/1 "2026-01-20T09:29:08Z")

</div>

Hi, I have a table with menu items that I display within a specific station. For example, if the station name is **BBQ** , the table pulls all menu items that have the **BBQ station ID** in the menu items table, so items like burgers, french fries, ketchup, etc. appear.

There are times when I want to reorder the items, such as moving **ketchup** to appear at the top. I’ve seen videos that use **up and down buttons** with a column index to handle this, but when I try to set up the workflow, it only allows me to target the **current item/row**.

I can’t figure out why **Query Next** and **Query Previous** don’t appear as options when setting values. If anyone can help me understand what I’m missing, I would really appreciate it.

---

<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:** [January 21, 2026, 12:39am UTC](https://community.glideapps.com/t/reordering-rows-within-a-table-using-up-and-down-button/86077/2 "2026-01-21T00:39:47Z")

</div>

> [@Yosef](#):
>
> I can’t figure out why **Query Next** and **Query Previous** don’t appear as options when setting values. If anyone can help me understand what I’m missing, I would really appreciate it.

Seems you’re having a multiple row query. You should try to return only 1 row, and show us how you’re configuring it. I assume you have something like an index column that is a basic number already.

---

<div class="post-metadata">

**Author:** ![Yosef](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yosef/32/93865_2.png) [@Yosef](https://community.glideapps.com/u/Yosef)\
**Post date:** [January 21, 2026, 9:13am UTC](https://community.glideapps.com/t/reordering-rows-within-a-table-using-up-and-down-button/86077/3 "2026-01-21T09:13:57Z")

</div>

Hey, I manged to figure it out. Thank You
