Sorting Numbers in Custom Fields

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

Nextasy

Sorting Numbers in Custom Fields

Post by Nextasy »

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?
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Sorting Numbers in Custom Fields

Post by nohitter151 »

No. Custom fields are sorted alphabetically. The only way around it would be to use leading zeros.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
Nextasy

Re: Sorting Numbers in Custom Fields

Post by Nextasy »

Okay, thank you. It's gonna be ugly but I might as well.
Hackej
Posts: 4
Joined: Sat May 29, 2010 12:53 pm

Sort order of custom fields

Post by Hackej »

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
Hackej
Posts: 4
Joined: Sat May 29, 2010 12:53 pm

Re: Sort order of custom fields

Post by Hackej »

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
Erwin Hanzl
Posts: 1189
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Sort order of custom fields

Post by Erwin Hanzl »

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
MMW 4.1.31.1919 Gold-Standardinstallation
Post Reply