# List Combine and List Sort on Attributes v2

**URL:** <https://forum.finsweet.com/t/list-combine-and-list-sort-on-attributes-v2/5244>\
**Category:** Attributes\
**Created:** [June 25, 2025, 12:41pm UTC](https://forum.finsweet.com/t/list-combine-and-list-sort-on-attributes-v2/5244 "2025-06-25T12:41:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vballestrino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/vballestrino/32/4579_2.png) [@vballestrino](https://forum.finsweet.com/u/vballestrino)\
**Post date:** [June 25, 2025, 12:41pm UTC](https://forum.finsweet.com/t/list-combine-and-list-sort-on-attributes-v2/5244/1 "2025-06-25T12:41:08Z")

</div>

Hi All,  
There is specific documentation on how to use CMS Combine and CMS Sort together to create a sorted combined collection list with Attributes v1, I used this cloneable in the past for that: [Attributes Combos - Webflow](https://webflow.com/made-in-webflow/website/attributes-combos).  
But this documentation on the Attributes legacy page now redirects to Attributes v2 where there is nothing about Attributes combinations.

Is it still possible?  
The bit of JS code provided in the v1 docs and that’s supposed to click the hidden button to trigger the sort seems to be referencing the old function names and doesn’t seem to work anymore.

Thank you!  
Vincent

---

<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:** [July 1, 2025, 10:52am UTC](https://forum.finsweet.com/t/list-combine-and-list-sort-on-attributes-v2/5244/2 "2025-07-01T10:52:06Z")

</div>

Hey @vballestrino! There is no specific documentation for these combinations _yet_.

However, List Combine and List Sort are meant to work seamlessly. And it is still possible to sort the combined list automatically!

Here is what you need:

A sorting element is required, but it can be hidden, such as a button with the attribute fs-list-element=“sort-trigger”.

This is the API callback that will sort the list. Simply modify the `fieldKey` and `direction` to suit your setup!

```html
<script>
  window.FinsweetAttributes = window.FinsweetAttributes || [];
  window.FinsweetAttributes.push([
    'list',
    (listInstances) => {
      console.log('List Successfully loaded!');

      const [listInstance] = listInstances;

      listInstance.sorting.value.fieldKey = 'name';
      listInstance.sorting.value.direction = 'desc';
    },
  ]);
</script>

```

You can DM me a link to the page if you need any help!
