# Sort disk number doesn't sort

**URL:** <https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665>\
**Category:** Support\
**Created:** [May 10, 2018, 7:12pm UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665 "2018-05-10T19:12:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![caffca](https://community.mp3tag.de/user_avatar/community.mp3tag.de/caffca/32/8638_2.png) [@caffca](https://community.mp3tag.de/u/caffca)\
**Post date:** [May 10, 2018, 7:12pm UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665/1 "2018-05-10T19:12:19Z")

</div>

Hello, I used the Mp3tag v2.87a. When I try to sort the files by disk number, it doesn't sort them in alphabetical order, like Disk 1, Disk 2, DSisk 3, etc...  
The other columns work very well.  
Only in this column does not work.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 10, 2018, 7:17pm UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665/2 "2018-05-10T19:17:53Z")

</div>

check the column definition and see if you sort that field numerical or not.  
If toggling the setting does not really make any difference, then you would have to show us the contents and whether a special statement in "sort by" would do the trick.

---

<div class="post-metadata">

**Author:** ![caffca](https://community.mp3tag.de/user_avatar/community.mp3tag.de/caffca/32/8638_2.png) [@caffca](https://community.mp3tag.de/u/caffca)\
**Post date:** [May 11, 2018, 8:59am UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665/3 "2018-05-11T08:59:18Z")

</div>

Okay, it worked.

![number%20disk](https://community.mp3tag.de/uploads/default/original/2X/7/79854f7bd9e95f2188bc7b38ecb598fe31452601.JPG)

Thank you very much.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 11, 2018, 9:17am UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665/4 "2018-05-11T09:17:28Z")

</div>

Even though you solved your problem, I suspect that you have non-numeric data in a numeric field. DISCNUMBER is supposed to be a half-numeric value with only a "/" as separator to the TOTALDISC number.  
If you have discnumbers like "A" or "B" in the field, it would be invalid data.  
For "Sort by" You could then use a string like  
$replace(%discnumber%,A,1,B,2,Disk,)  
and then also strings would be sorted correctly.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/sort-disk-number-doesnt-sort/41665/5 "2026-02-09T12:27:25Z")

</div>


