# CMS Sort is sorting one list in two batches

**URL:** <https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059>\
**Category:** Attributes\
**Created:** [October 16, 2023, 10:33pm UTC](https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059 "2023-10-16T22:33:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/mike/32/562_2.png) [@mike](https://forum.finsweet.com/u/mike)\
**Post date:** [October 16, 2023, 10:33pm UTC](https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059/1 "2023-10-16T22:33:08Z")

</div>

I have a collection list with ~240 items. I have CMS Sort and CMS Filter running and everything works well except:

When I choose a new sort order, for example “Least expensive”, it will not sort all 250 items - it will instead sort two seperate batches of items.

The first “Batch” will sort by least expensive to most expensive for 130 items. Then a second batch that starts over, and sorts again from least to most expensive.

For example:

“Sort by Most expensive”

1. Ferrari $500,000  
…
2. Chevy $30,000
3. Lamborghini $450,000

* * *

1. Honda $31,000  
[end of list]

I have the CMS Load set to “Render all”  
It is only one collection list

Any ideas on how to solve?  
Page is here: [Find Your Electric Vehicle | EV.Guide](http://www.ev.guide/find-your-ev)

Thank you!

---

<div class="post-metadata">

**Author:** ![mike](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/mike/32/562_2.png) [@mike](https://forum.finsweet.com/u/mike)\
**Post date:** [October 23, 2023, 10:36pm UTC](https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059/2 "2023-10-23T22:36:30Z")

</div>

@Support-Luis any thoughts here?

---

<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 24, 2023, 2:16pm UTC](https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059/3 "2023-10-24T14:16:27Z")

</div>

hey @mike! Have you defined the sort type as number with `fs-cmssort-type = number`?

I would also suggest you separate the $ sign from the actual number as this might interfere with the sorting

---

<div class="post-metadata">

**Author:** ![mike](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/mike/32/562_2.png) [@mike](https://forum.finsweet.com/u/mike)\
**Post date:** [October 30, 2023, 12:11pm UTC](https://forum.finsweet.com/t/cms-sort-is-sorting-one-list-in-two-batches/2059/4 "2023-10-30T12:11:19Z")

</div>

> [@Support-Luis](#):
>
> `fs-cmssort-type`

Thank you! Adding the sort type seems to have remedied this.

The dollar sign was already separate, but good advice thanks.
