# CMS sort: 1 trigger for 2 lists

**URL:** <https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857>\
**Category:** General\
**Created:** [August 31, 2023, 9:05am UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857 "2023-08-31T09:05:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashley](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/ashley/32/3842_2.png) [@ashley](https://forum.finsweet.com/u/ashley)\
**Post date:** [August 31, 2023, 9:05am UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/1 "2023-08-31T09:05:54Z")

</div>

Hi, is it possible to us 1 trigger to change the sort order of 2 different lists? Thank you

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 3, 2023, 8:17am UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/2 "2023-09-03T08:17:05Z")

</div>

Hey @ashley! Are these lists combined? Or each is a stand-alone list?

---

<div class="post-metadata">

**Author:** ![ashley](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/ashley/32/3842_2.png) [@ashley](https://forum.finsweet.com/u/ashley)\
**Post date:** [September 12, 2023, 2:40am UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/3 "2023-09-12T02:40:42Z")

</div>

@Support-Luis thanks for your reply 🙂 The lists are stand-alone

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 12, 2023, 3:00pm UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/4 "2023-09-12T15:00:26Z")

</div>

Hey @ashley! You’ll need to setup CMS Sort instances (image attached), if the buttons are visible you can mirror click events with this Attribute [Mirror Click Events - Mirror a click from one element to another](https://finsweet.com/attributes/mirror-click-events). If the buttons are hidden please share a link and I can provide the code 😉

 ![Screen Shot 2023-09-12 at 16.58.05](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/3/3ab07dfaf73c00cf341ac1d002d124756d25bdfe.png)

---

<div class="post-metadata">

**Author:** ![ashley](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/ashley/32/3842_2.png) [@ashley](https://forum.finsweet.com/u/ashley)\
**Post date:** [September 25, 2023, 1:13pm UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/5 "2023-09-25T13:13:43Z")

</div>

Hi @Support-Luis , thanks for this!

Here is the link: [After Effects Tools - Enhance your Motion Graphics | AECartographer](https://aecartographer-site.webflow.io/tools)

The dropdown menu changes the sort order of the collection list/feed on the right. But we’d also like this to change the sort of the menu/anchor links on the left…

I’m sorry, I’m not 100% clear on how to apply the CMS sort instances. Should I add “list-2” to the menu/anchor links on the left? And then duplicate and hide the dropdown sort menu, and then use the mirror click attribute? 😆

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 25, 2023, 3:48pm UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/6 "2023-09-25T15:48:55Z")

</div>

Yes! As the lists not combined you’ll need to mirror the clicks on any element of the sort dropdown, the triggers and targets are linked by their suffix. So `trigger` will mirror its click to the `target`, `trigger-2` will mirror its click to `target-2`, and so on.

---

<div class="post-metadata">

**Author:** ![ashley](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/ashley/32/3842_2.png) [@ashley](https://forum.finsweet.com/u/ashley)\
**Post date:** [October 9, 2023, 1:24pm UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/7 "2023-10-09T13:24:02Z")

</div>

Hi @Support-Luis, I think I’m getting close to resolving this, thanks for your help!

I’ve set up the CMS sort instances and the mirror click events. The second dropdown is hidden, do I need to add an extra code for the mirror click to work? Cheers!

Here is the share link: [Webflow - AECartographer](https://preview.webflow.com/preview/aecartographer-site?utm_medium=preview_link&utm_source=designer&utm_content=aecartographer-site&preview=289ce3485ae2626df8e7c7ea5db24e56&pageId=64d1d926047cd4c6f3f9fb73&workflow=preview)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [October 9, 2023, 5:21pm UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/8 "2023-10-09T17:21:40Z")

</div>

Hey @ashley! No extra code should be needed if the Attributes are correctly setup 🙂

---

<div class="post-metadata">

**Author:** ![ashley](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/ashley/32/3842_2.png) [@ashley](https://forum.finsweet.com/u/ashley)\
**Post date:** [January 5, 2024, 4:54am UTC](https://forum.finsweet.com/t/cms-sort-1-trigger-for-2-lists/1857/9 "2024-01-05T04:54:44Z")

</div>


