is there any other sorting method option?

Advanced Renamer forum
#1 : 11/07-16 10:33
gahara31
gahara31
Posts: 1
i have a lot of manga and most of them where named like this

[website.....]_title_1_bla_bla_bla.jpg
....
[website.....]_title_300_bla_bla_bla.jpg

but when i add them into the list it was sorted like this

[website.....]_title_100_bla_bla_bla.jpg
....
[website.....]_title_1_bla_bla_bla.jpg
[website.....]_title_200_bla_bla_bla.jpg
.....
[website.....]_title_2_bla_bla_bla.jpg
[website.....]_title_300_bla_bla_bla.jpg
.....
[website.....]_title_3_bla_bla_bla.jpg

it was chaos and i don't want to manually sort them in the list. i believe it is sorted numerically, is there a way to sort them alphabetically?


11/07-16 10:33
#2 : 14/09-16 05:07
csgosk
csgosk
Posts: 1
Five-SeveN | Copper Galaxy StatTrak Factory New (StatTrak,Factory New,)http://www.csgosk.com/item-Five-SeveN.html


14/09-16 05:07
#3 : 14/09-16 23:32
G. Lambany
G. Lambany
Posts: 187
Reply to #1:
you should simply re-number those numbers to include padding zeros, so instead of

[website.....]_title_1_bla_bla_bla.jpg

you would have

[website.....]_title_001_bla_bla_bla.jpg

Rename the files with the following method in AR:
method: Renumber
Number position: 1
change to: relative to existing number
number difference: 0
zero padding: Manual (or automatic if all the wanted files are in the list)
number lenght: 3

then re-add the files and they will sort properly. The sort is not numerical, it sort on all type of characters, but since "[website.....]_title_10" will always be sorted before "[website.....]_title_1_", you need to help the sort algorithm a little bit.. you will get the same behavior in other softwares too, so it isn't a software issue.

here is the character priority order, from first to last, in AR:
!#$%&'()+,.0123456789=@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]_{}

a bit different from windows explorer:
!#$%&(),.'-@[]_{}+=0123456789=@ABCDEFGHIJKLMNOPQRSTUVWXYZ

(note I haven't put lower case letters, they behave the same as uppercase on windows, no difference.. that wouldn't be true on unix based system tho)

as you can see, underscore is almost last in AR, so way lower than the number zero, in your case

cheers


14/09-16 23:32 - edited 17/09-16 19:14