Sorting Numbers in Custom Fields

Get answers about using the current release of MediaMonkey for Windows.

Moderator: Gurus

Nextasy

Sorting Numbers in Custom Fields

Post 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?

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Sorting Numbers in Custom Fields

Post 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.
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 » Sat Mar 17, 2012 10:21 am

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 » 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

Hackej
Posts: 4
Joined: Sat May 29, 2010 12:53 pm

Re: Sort order of custom fields

Post 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

Erwin Hanzl
Posts: 306
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Sort order of custom fields

Post 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
MMW 4.1.25.1894 Gold Beta | Design: GLIDED 18px --- View: DETAIL
CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.1 | External Tools 1.4. | FindCurrentPlayingTrack 1.3.2
Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3. | Shortcut Creator 1.0
MMA 1.3.6.0881 Beta-Tester | Huawei Mate 20 Pro 128GB | Android 9 | USB-Cable-Sync
Win 10 Pro 1903 64-Bit | Defender with real-time protection | 2 x SSD intern

Post Reply