# Repeating Groups "group by" Broken?

**URL:** <https://forum.bubble.io/t/repeating-groups-group-by-broken/77959>\
**Category:** Bugs\
**Created:** [February 2, 2020, 3:25am UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959 "2020-02-02T03:25:54Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 2, 2020, 3:25am UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/1 "2020-02-02T03:25:54Z")

</div>

For the last six months or so, I’ve had a leaderboard for my users up and running. It’s a repeating group with a “group by” user and sorted by the sum of the data point for the leaderboard. Here’s an example of what it’s looked like up until this week:

 ![leaderboard-example](https://us1.discourse-cdn.com/bubble/original/3X/1/5/15d9b5f68de263534ba99ba468a7947473c3b858.png)

This past week, probably Wednesday, the sorting of the data suddenly changed. it’s not alphabetic, it’s not by the sum of the data point, as you can see below. I’m always on top too, for whatever reason.

 ![Screenshot from 2020-02-01 18-35-44](https://us1.discourse-cdn.com/bubble/original/3X/b/0/b07b08fe704172acb773b5b69b066aac3887397a.png)

I haven’t touched this part of the app for months so I’m not sure what has changed. I tried to replicate the behavior in a test app I use for poking around at things and I’m getting the exact same behavior.

![Screenshot from 2020-02-01 18-39-03](https://us1.discourse-cdn.com/bubble/original/3X/6/e/6e38a1854cdd631673a7daf7e5646b420901812d.png)

Is this a new bug or am I missing something obvious?

---

<div class="post-metadata">

**Author:** ![eve](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eve/32/48346_2.png) [@eve](https://forum.bubble.io/u/eve)\
**Post date:** [February 3, 2020, 6:46pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/2 "2020-02-03T18:46:01Z")

</div>

Hello!

We recently made a change to sorting in repeating groups, so if you’re seeing unexpected behavior (like the above), please do submit a [bug report](http://bubble.io/bug_report) with reproducible steps so that our team can investigate.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 3, 2020, 6:51pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/3 "2020-02-03T18:51:56Z")

</div>

Thanks, will do!

---

<div class="post-metadata">

**Author:** ![JohnMark](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnmark/32/42431_2.png) [@JohnMark](https://forum.bubble.io/u/JohnMark)\
**Post date:** [February 3, 2020, 9:37pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/4 "2020-02-03T21:37:47Z")

</div>

Hi @eve,

> [@eve](#):
>
> made a change to sorting in repeating groups

As I understand it, it’s transparent to us, right? or a new feature?

---

<div class="post-metadata">

**Author:** ![eve](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eve/32/48346_2.png) [@eve](https://forum.bubble.io/u/eve)\
**Post date:** [February 3, 2020, 9:43pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/5 "2020-02-03T21:43:17Z")

</div>

Hey! This specifically pertained to how data that is sourced via API is sorted (so most users should not have seen any effects), but it’s possible that it affected another aspect of the sort mechanism; we’ll certainly investigate!

---

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 3, 2020, 9:57pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/6 "2020-02-03T21:57:34Z")

</div>

I’ve submitted the bug report.

For me, it’s not API related (i don’t think), it’s simply grouping numbers by users and sorting by the sum associated with each user. It worked a week ago, today it’s not.

---

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 4, 2020, 7:08am UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/7 "2020-02-04T07:08:07Z")

</div>

Sounds like Bubble support were able to confirm this as an issue. Now just to wait for the fix.

---

<div class="post-metadata">

**Author:** ![casheets123](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@casheets123](https://forum.bubble.io/u/casheets123)\
**Post date:** [February 4, 2020, 3:40pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/8 "2020-02-04T15:40:51Z")

</div>

Had the same issue. But popped back to correct sorting as of last night for me.

Are you still seeing the issue?

---

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 4, 2020, 4:57pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/9 "2020-02-04T16:57:33Z")

</div>

As of moments ago, yes, I’m still seeing it.

---

<div class="post-metadata">

**Author:** ![TechieInAK](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/techieinak/32/13339_2.png) [@TechieInAK](https://forum.bubble.io/u/TechieInAK)\
**Post date:** [February 7, 2020, 3:23pm UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/10 "2020-02-07T15:23:59Z")

</div>

This appears to be working as of this morning.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [February 16, 2020, 3:25am UTC](https://forum.bubble.io/t/repeating-groups-group-by-broken/77959/11 "2020-02-16T03:25:57Z")

</div>

Closed on February 16, 2020, 3:25am UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
