Tracks not sorted correctly by textools 2020-10-05 15:10:38 Hello everyone. I'm trying to output a list of all the albums in my library. I've found the Text Tools component, developped by Peter himself, that seem to be my best option for doing this. However i'm running into a weird issue as the output have tracks sorted in a weird order. The order seems to be 10-01-11-02-12-03 ... To make things even weirder (is it a word?), the issue isn't present on multi-disc albums.I'm using a nice script from the linked thread in the header section to organize the outputCode: [Select]$ifgreater(%totaldiscs%,1,$ifgreater(%discnumber%,1,,$crlf()%album artist% - %album% - %date% '('%codec%[ %codec_profile%$ifequal($strcmp(%codec_profile%,CBR),1, %bitrate% kbps,)]')'$crlf()),$crlf()%album artist% - %album% - %date% '('%codec%[ %codec_profile%$ifequal($strcmp(%codec_profile%,CBR),1, %bitrate% kbps,)]')'$crlf())$ifgreater(%totaldiscs%,1,$crlf()disc %discnumber%,)The track pattern however is very simple. I also tested the output of a single album without header grouping and only that track pattern and i have the same issue.Code: [Select]%track% . %title% - %length%And here is an example of the output. You can see that the first disc, which is a multi-disc is sorted correctly but the second isn't.QuoteAvantasia - Ghostlights - 2016 (FLAC)disc 101 . Mystery of a Blood Red Rose - 3:5202 . Let the Storm Descend Upon You - 12:1003 . The Haunting - 4:4204 . Seduction of Decay - 7:1805 . Ghostlights - 5:4606 . Draconian Love - 4:5907 . Master of the Pendulum - 5:0508 . Isle of Evermore - 4:2909 . Babylon Vampyres - 7:1410 . Lucifer - 3:5111 . Unchain the Light - 5:0612 . A Restless Heart and Obsidian Skies - 5:5513 . Wake Up to the Moon - 4:44disc 201 . Spectres - 6:0402 . Invoke the Machine - 5:3603 . The Story Ain't Over - 4:4504 . Prelude - 1:2505 . Reach Out for the Light - 8:0506 . Avantasia - 5:1707 . What's Left of Me - 5:5608 . Dying for an Angel - 4:5909 . Twisted Mind - 6:2910 . The Watchmakers' Dream - 4:4711 . Another Angel Down - 5:31Avantasia - Moonglow - 2019 (FLAC)10 . Requiem for a Dream - 6:0901 . Ghost in the Moon - 9:5211 . Maniac - 4:3202 . Book of Shallows - 5:0112 . Heart - 3:4903 . Moonglow - 3:5704 . The Raven Child - 11:1505 . Starlight - 3:3906 . Invincible - 3:0807 . Alchemy - 7:2908 . The Piper at the Gates of Dawn - 7:2109 . Lavender - 4:31Any idea what goes wrong?