Sort by track number doesn't sort number formats


#1

I am trying to renumber my MP3s so they all have two digits. If I short by track number, I end up with:

01
01
01
1
01
1
01
01
1

Is it possible to sort this so all the 1's and all the 01's are grouped. This would make my life so much easier for renaming.

I don't want to select all and rename because it will force me to copy far more files to my backup/NAS than required.

Thanks


#2

You can use the filter [F3] to display only track numbers with one digit:

track MATCHES ^\d$


#3

Or you could create a userdefined column with the value of
$len(%track%)
and sort first by this and then by track.