Sorting Numbers in Custom Fields

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Sorting Numbers in Custom Fields

Re: Sort order of custom fields

by Erwin Hanzl » Mon Sep 09, 2019 4:01 am

custom fields are sorted alphanumerically.
That's correct - 2-11 can never be a number
For albums use the fields Disc # and Track #

Update your MM version http://www.mediamonkey.com/forum/viewto ... 54426&sd=d

Re: Sort order of custom fields

by Hackej » Mon Sep 09, 2019 3:16 am

Hi!

Correction...

The sort order is actually: 2, 2-1, 2-10, 2-11, 2-12, 2-2, 2-3, 2-4, ...etc.

BR
/Hackej

Sort order of custom fields

by Hackej » Mon Sep 09, 2019 3:10 am

Hi!

I'm having problems with sort order of custom fields, I use one of them for version number of tracks in the format of 3-1, 3-2, .... 3-10, 3-11,3-12.

This means that the tracks are sorted incorrectly, i.e. 2-10, 2-11, 2-12, 2-1, 2-2, 2-3....etc.

I found this old topic regarding this issue; https://www.mediamonkey.com/forum/viewt ... =1&t=65131
and it's seems that custom fields are sorted alphanumerically.

- Anything done regarding this since 2012, I'm currently using version 4.1.21.1875?
- Anything I can do to fix this, other than of course using format 2-01, 2-02 etc?

BR
/Hackej

Re: Sorting Numbers in Custom Fields

by Nextasy » Sat Mar 17, 2012 10:21 am

Okay, thank you. It's gonna be ugly but I might as well.

Re: Sorting Numbers in Custom Fields

by nohitter151 » Sat Mar 17, 2012 10:20 am

No. Custom fields are sorted alphabetically. The only way around it would be to use leading zeros.

Sorting Numbers in Custom Fields

by Nextasy » Sat Mar 17, 2012 10:13 am

I use one of the custom fields for numbers, but when I go to sort my songs by that field, it sorts it wrong.

For instance, if I have 90, 10, and 1000, it will sort them 10, 1000, 90, instead of in numerical order.

Is there any way I can fix this?

Top