Page 1 of 1
New feature: Sort by "Media Label" field with natu
Posted: 2009-01-13 03:45:23
by igorx
When sorting by this field, i think, it is necessary to use the algorithm of sorting at which the order of alphanumeric lines will be habitual for the person. This is described as a "natural ordering".
For example:
Code: Select all
The initial data:
1
13
2
20
a12
a1
a4
1-1
10-1
2-10
2-11
Standard sorting:
1
1-1
10-1
2
13
2-10
2-11
20
a1
a12
a4
Natural order sorting:
1
1-1
2
2-10
2-11
10-1
13
20
a1
a4
a12
Generally speaking, natural order sorting it is necessary to use in any sorting in AMC, imho...
Posted: 2009-01-13 21:04:19
by antp
Do you have some Delphi code which does it?
I could add that easily but I do not wish to write that myself, I guess it must exist. I searched some time ago but I guess I did not find something convincing...
Posted: 2009-01-15 01:25:52
by igorx
I have not, sorry, but search over Internet by google can give positive result.
If you want, I can search, but I do not know Delphi and it is difficult for me to determine, what code is working, and what no...
Posted: 2009-01-15 09:11:56
by antp
Sure, I asked just in case of

Yes, it is probably easy to find and integrate in the program, I just have to take some time for that, like for all other features of my to-do list

Posted: 2009-01-22 14:09:31
by Melmoth
@ igorx: if you are missing this feature or if you have issues sorting your stuff just add zeros to fill missing digits. Works fine in every application and with files in any kind of explorer.
E.g.: 0001 instead of 1 (max of 9999 items then); 01-01 instead of 1-1
Via csv export you can edit the format of the numbers with excel (or the open office pendant) and save a lot of typing.
Posted: 2009-01-22 19:08:16
by antp
With a script it is also easy to add these numbers. I already wrote such script, but it is maybe not easy to find it on the forum.