# Sort a repeating group with dropdown

**URL:** <https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909>\
**Category:** Need help\
**Created:** [February 1, 2018, 10:15am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909 "2018-02-01T10:15:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex8](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@alex8](https://forum.bubble.io/u/alex8)\
**Post date:** [February 1, 2018, 10:15am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/1 "2018-02-01T10:15:23Z")

</div>

Hi,

In my app I have a repeating group displaying ‘companies’.  
I want users to be able to sort through the companies using 3 different dropdowns.

 ![14](https://us1.discourse-cdn.com/bubble/original/3X/6/b/6b7c03f3d24a66adaf52dbd3016f89703d9874b3.png)

Currently, there is a condition on the repeating group that will search for companies depending on the dropdown value as shown above.

How do I make the dropdown continually filter more refined - right now the repeating group will sort depending on a single dropdown and the repeating group will not sort the table with the combined dropdown fields. i.e. if market sector is X, EIS is Yes and Market is Y, I want to show only companies with X market sector, Y market and Yes to EIS.

Please advise,  
Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [February 1, 2018, 10:44am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/2 "2018-02-01T10:44:02Z")

</div>

Have a look at the “Dynamic” sorting option.

You can have a list of fields on your dropdown (or have a list of descriptions which also have the field NAME) then use that in a Dynamic sort.

---

<div class="post-metadata">

**Author:** ![alex8](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@alex8](https://forum.bubble.io/u/alex8)\
**Post date:** [February 1, 2018, 10:59am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/3 "2018-02-01T10:59:15Z")

</div>

Where is the Dynamic sorting option?  
Do you mean the ‘Change which field’ within the sort of the Repeating Group?

 ![38](https://us1.discourse-cdn.com/bubble/original/3X/f/0/f0cde0b85e5cd8884f3cda29968c4c87903240aa.png)

---

<div class="post-metadata">

**Author:** ![ccaste](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@ccaste](https://forum.bubble.io/u/ccaste)\
**Post date:** [February 28, 2018, 9:27pm UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/4 "2018-02-28T21:27:35Z")

</div>

Never got a response? Did you figure it out?

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [March 1, 2018, 9:55am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/5 "2018-03-01T09:55:27Z")

</div>

Ah, Dynamic Sorting has changed its name !

Yes, “Change which field…” is what you want. Then use that field (which should contain a FIELD NAME) will determine the sort.

Sorry for not replying 🙂

---

<div class="post-metadata">

**Author:** ![ccaste](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@ccaste](https://forum.bubble.io/u/ccaste)\
**Post date:** [March 1, 2018, 1:34pm UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/6 "2018-03-01T13:34:31Z")

</div>

OK. Thanks for the response. May I ask another question? I have a repeating group that shows invoices. I have been able to pull in all invoices and the group has information from the customer that is linked to that invoice - customer name. But now I am trying to sort the invoices and it will only allow me to sort by the fields in the actual invoice and not the fields associated with the customer that the invoice is linked to.

As I missing something?

---

<div class="post-metadata">

**Author:** ![nomads32n](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@nomads32n](https://forum.bubble.io/u/nomads32n)\
**Post date:** [April 5, 2018, 11:37pm UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/7 "2018-04-05T23:37:12Z")

</div>

Didn’t work for me. Not able to sort by letters. I put the field name as the sort field. But nothing happens when I sort.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [April 8, 2018, 12:17pm UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/8 "2018-04-08T12:17:44Z")

</div>

The field needs to contain the name of the sort field.

---

<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:** [April 12, 2018, 10:15am UTC](https://forum.bubble.io/t/sort-a-repeating-group-with-dropdown/23909/9 "2018-04-12T10:15:51Z")

</div>

Closed on April 12, 2018, 10:15am UTC

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