# Swipe Card Order?

**URL:** <https://community.glideapps.com/t/swipe-card-order/23737>\
**Category:** Ask for Help\
**Created:** [March 3, 2021, 8:42pm UTC](https://community.glideapps.com/t/swipe-card-order/23737 "2021-03-03T20:42:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Canup](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daniel_canup/32/32850_2.png) [@Daniel\_Canup](https://community.glideapps.com/u/Daniel_Canup)\
**Post date:** [March 3, 2021, 8:42pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/1 "2021-03-03T20:42:05Z")

</div>

Is it not possible to order the cards inside of a swipe deck?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/4/246f76d18908e4002e47b1a1ec9556168d475002.png)

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [March 3, 2021, 9:35pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/2 "2021-03-03T21:35:11Z")

</div>

Hi - sadly it is not possible (yet, hopefully). I am working on a card swipe app myself. I am trying to see if I can divide up my GSheet into the Cards I have, and then a ‘deck’ sheet which I sort inside GSheets.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 3, 2021, 10:02pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/3 "2021-03-03T22:02:28Z")

</div>

I think swipe cards are really designed to display from oldest to newest based on the swipe date/time. Before all the date/times are filled, I would assume it’s sheet order. Once you have all dates filled, then it’s always going to sort the oldest cards first. Swipe wasn’t really designed to swipe linearly through the rows of data. If you want it to work differently, you have to kind of trick it by only filtering to a single row, then have each swipe set a value that controls relations and lookups to the row of information you want.

That’s what I do with the Month Swipe tab in this app. The only row that’s ever displayed is the first row. My swipes increment a value +1 or -1 based on the swipe direction and that controls what’s displayed on the screen.

> **[Calendar Concept](https://nonchalant-creature-8307.glideapp.io/)**

---

<div class="post-metadata">

**Author:** ![Harry\_OBrien](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harry_obrien/32/14485_2.png) [@Harry\_OBrien](https://community.glideapps.com/u/Harry_OBrien)\
**Post date:** [April 12, 2021, 12:44pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/5 "2021-04-12T12:44:12Z")

</div>

I have the ability for individual users to archive & hide rows - the list they are swiping through is filtered to hide archived rows.

In this instance incrementing values +1/-1 doesn’t work as there is no way to write a formula to assign numerical order sequence (1,2,3…) to non-archived rows only. What would happen when I increment to a number that has been filtered out of the inline list? The glideapps abyss?

Ordering Swipe Cards would be great here.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [April 12, 2021, 1:52pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/6 "2021-04-12T13:52:11Z")

</div>

Yeah, I’m not sure what you could do there. One wish I have is a way to assign a rank order dynamically to rows as a workaround for this workaround. Otherwise my method is kind of limited. I think the Swipe layout is not exactly what most of us expect it to be (a way to linearly move between rows). It’s more of a Tinder style swipe, where swipe direction calls different actions and the swipe date just moves it to the bottom of the list. Kind of a one and done. Because of that and a couple of other reasons, I really don’t think swipe is very useful in a lot of cases where people want to use it.

If you can think of some sort of action that would set the row id of the previous or next row (maybe a set column action), then you could still use a similar method to what I did with a single filtered row. Otherwise I think a lot of us are trying to make something work differently from how it was designed to work.

> [@Swipe layout is now in Production!](https://community.glideapps.com/t/swipe-layout-is-now-in-production/21474/129):
>
> But that’s not moving backwards through the list. It only moves in one direction and that direct is a combination of sheet order and earliest swipe date. Swiping left or right only moves in one direction…forward. You can’t move backward to the cards you had just swiped. You have to make a complete rotation through all of them to get back to the one card you wanted to swipe back to. That’s why I went with the single row method. A single row will only swipe to itself, but additional actions …

> [@Rollup...by rank?](https://community.glideapps.com/t/rollup-by-rank/4551/13):
>
> I’d like to bump this feature request. I think we need a Rank/Order functionality to sequentially number rows, either: Along the entire contents of a sheet. Or by specifying a grouping value, so each group has its own unique numbering. Then within that sheet or grouping, I’d like to specify a column to rank by, either: Numerically Alphabetically Date Order Etc. Then finally the ability to choose to number in: Ascending order Descending order I was thinking of ways to build this into an…

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [April 16, 2021, 7:34am UTC](https://community.glideapps.com/t/swipe-card-order/23737/7 "2021-04-16T07:34:59Z")

</div>

My 14-year old son found a solution:

- he has a GS with sheets for various YouTube channels - each row is a video
- he uses QUERY in GS to pull in each sheet into his ‘Swipe’ table
- In the column after he has a RANDARRAY column (header cell has the formula) that assigned a random number to each row
- I can’t quite remember, but he might have then an extra sheet with QUERY to bring in the sorted rows
- this is used for the Swipe sheet
- add in an extra column in glide - usc-hasSwiped (user) and set the swipe value to ‘true’

So the users get random videos (before they were all ordered by channel which was boring) and do not see the same video twice.

(I did help him a little)

---

<div class="post-metadata">

**Author:** ![Harry\_OBrien](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/harry_obrien/32/14485_2.png) [@Harry\_OBrien](https://community.glideapps.com/u/Harry_OBrien)\
**Post date:** [April 21, 2021, 12:18pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/8 "2021-04-21T12:18:47Z")

</div>

Smart kid!

> **Summary**
>
> ‘Although re-QUERYing my database would add too much bulk’ **Shhh 🤫**
> 
> 😉

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [April 21, 2021, 12:28pm UTC](https://community.glideapps.com/t/swipe-card-order/23737/9 "2021-04-21T12:28:44Z")

</div>

he was very motivated - he had two weeks’ holiday and wanted to earn his way to Airpod Pros 🙂 🙂
