# Alphabetic / Numeric sorting algorithm

**URL:** <https://community.qonic.com/t/alphabetic-numeric-sorting-algorithm/286>\
**Category:** Feedback\
**Created:** [July 8, 2026, 11:35am UTC](https://community.qonic.com/t/alphabetic-numeric-sorting-algorithm/286 "2026-07-08T11:35:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_De\_Cock](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.qonic.com/johan_de_cock/32/235_2.png) [@Johan\_De\_Cock](https://community.qonic.com/u/Johan_De_Cock)\
**Post date:** [July 8, 2026, 11:35am UTC](https://community.qonic.com/t/alphabetic-numeric-sorting-algorithm/286/1 "2026-07-08T11:35:41Z")

</div>

Today I created a report using the typical “Mark” property as only grouping parameter.

In this case, the Mark is completely numeric (though no doubt it is a string type parameter in the backend). Which means that when sorting alphabetically, I got something like: 1, 10, 11, …, 2, 20, 21, …, 3, 4,

I know I can solve that by using a leading zero. Which we often do for things like naming conventions, when the value is a combination of letters and numbers.

Can you please update the sorting algorithm to recognize numeric values? In the perfect world it would even work in a combination of numeric and alphanumeric values. But if it already works when it is only numbers, that’s already worth a lot.

---

<div class="post-metadata">

**Author:** ![Stef\_Dalbosco](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@Stef\_Dalbosco](https://community.qonic.com/u/Stef_Dalbosco)\
**Post date:** [August 3, 2026, 9:01am UTC](https://community.qonic.com/t/alphabetic-numeric-sorting-algorithm/286/2 "2026-08-03T09:01:49Z")

</div>

Hi Johan,

Great suggestion. We updated the sorting algorithm to use the natural sort order, meaning that we treat each number part as there numerical values. So even a combination of numeric and alphanumeric values should get an intuitive order.

---

<div class="post-metadata">

**Author:** ![Johan\_De\_Cock](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.qonic.com/johan_de_cock/32/235_2.png) [@Johan\_De\_Cock](https://community.qonic.com/u/Johan_De_Cock)\
**Post date:** [August 3, 2026, 9:19am UTC](https://community.qonic.com/t/alphabetic-numeric-sorting-algorithm/286/3 "2026-08-03T09:19:21Z")

</div>

Great, sounds perfect!
