# Comments Jump from one topic to another; paid app

**URL:** <https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564>\
**Category:** Report a Bug\
**Created:** [June 9, 2020, 6:57am UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564 "2020-06-09T06:57:11Z")\
**Posts on this page:** 7\
**Page:** 3

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 11, 2020, 2:05pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/41 "2020-06-11T14:05:27Z")

</div>

This definitely looks odd. I’ll look into it.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 11, 2020, 2:59pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/42 "2020-06-11T14:59:15Z")

</div>

Just to make sure I understand this correctly:

1. Glide adds the row, which results in

 ![Screen Shot 2020-06-11 at 7.04.12 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/db96fd27996f8a2613a209ee504a5b596cacbb52.jpeg)

1. Your script sorts the rows, resulting in

 ![Screen Shot 2020-06-11 at 7.55.52 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/c99d43c7b4a399cf876e160d130dbd8b11860124.jpeg)

1. Somehow the Row ID column is overwritten with what it was before step 2, resulting in

 ![Screen Shot 2020-06-11 at 7.03.43 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/c9d8116f8b493938a914081d416411c194717b9b.jpeg)

Is my understanding correct?

---

<div class="post-metadata">

**Author:** ![Naos\_Wilbrink](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/naos_wilbrink/32/769_2.png) [@Naos\_Wilbrink](https://community.glideapps.com/u/Naos_Wilbrink)\
**Post date:** [June 11, 2020, 3:14pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/43 "2020-06-11T15:14:55Z")

</div>

Yes 100% correct.  
I also have a sheet / test setup if you need it.

---

<div class="post-metadata">

**Author:** ![Naos\_Wilbrink](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/naos_wilbrink/32/769_2.png) [@Naos\_Wilbrink](https://community.glideapps.com/u/Naos_Wilbrink)\
**Post date:** [June 11, 2020, 3:21pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/44 "2020-06-11T15:21:04Z")

</div>

@Jeff_Hager I really appreciate your extensive reply.

> [@Jeff\_Hager](#):
>
> Re-sorting might be fine on a daily/week/monthly basis for database maintenance, but continuously like that would make me nervous, no matter the case.

You are right for it not being an actual solution, it already was a bandaid. Trying to cut a corner.  
I did de-activate the sorting. And I removed some functionality.  
I’ll find a new way of moving fwd.

> [@Jeff\_Hager](#):
>
> I watched your video yesterday, but it went really fast to track and follow everything that was happening.

Mark was able to sum up the finding quite eloquently and very much to the point.

> [@Jeff\_Hager](#):
>
> I will say that one time I was testing someone’s app with them. I believe it was a private chat feature in the app. At one point they deleted or reshuffled the rows and I ended up in a different chat, so I believe it’s possible for something weird to happen if you are mucking around with the data.

This would be relevant for @Mark too! Data integrity is the most important foundation.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [June 11, 2020, 3:23pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/45 "2020-06-11T15:23:18Z")

</div>

I’d love to see the test setup!

---

<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:** [June 11, 2020, 4:08pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/46 "2020-06-11T16:08:51Z")

</div>

Ok, now I see it with Mark’s screenshots. It was hard for me to track that in the video when watching on my phone. I tried to watch the row IDs, but with so much happening at once, I missed the point that the row id switched on all rows. I’m wondering if it’s an issue with glide and Google making changes at the same time. I used to have an issue with some very heavy sheet calculations and queries that would take several minutes to run. As the sheet was calculating, Google wouldn’t accept any new data from Glide. If a resync happened in that timeframe, then new data was completely lost and removed from the app. I’ve since solved it by offloading the sheets with most of the heavy formulas to a completely separate Google spreadsheet using import range, let that do the hard work, then pull in the resulting data back into the main spreadsheet using import range. That solved a lot of sync issues for me. I’ve been slowly switching to Glide only functionality where I can and I only have a couple of things to solve to fully eliminate the separate spreadsheet. The rest is lightning fast within Glide.

---

<div class="post-metadata">

**Author:** ![Naos\_Wilbrink](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/naos_wilbrink/32/769_2.png) [@Naos\_Wilbrink](https://community.glideapps.com/u/Naos_Wilbrink)\
**Post date:** [June 11, 2020, 4:57pm UTC](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564/47 "2020-06-11T16:57:21Z")

</div>

The copy I made of the app is: [https://1qf2d.glideapp.io/](https://1qf2d.glideapp.io/)  
I’ll share the sheet [https://docs.google.com/spreadsheets/d/1McyFiFiU\_17zCieuh\_ZgyFCQXgYBTppKv1\_0l92HXmk/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1McyFiFiU_17zCieuh_ZgyFCQXgYBTppKv1_0l92HXmk/edit?usp=sharing)  
You can request access and look into the Script editor.

[Previous page](https://community.glideapps.com/t/comments-jump-from-one-topic-to-another-paid-app/10564.md?page=2)
