natural sorting

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

natural sorting

Postby tofuSCHNITZEL » Tue Jan 17, 2012 11:23 pm

It would be great if the sorting is changed to a natural sorting. (like php's sort() and natsort())

Image
tofuSCHNITZEL
 
Posts: 10
Joined: Tue Jan 17, 2012 11:18 pm

Re: natural sorting

Postby BKKKPewsey » Wed Jan 18, 2012 12:24 am

Here's a workround
In that particular case if you change the digits to double digits throughout it will sort correctly.
eg Season 01 etc
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: natural sorting

Postby tofuSCHNITZEL » Wed Jan 18, 2012 9:14 am

Well yes this is a workaround but still... why wouldn't you want subsonic to sort naturally...
tofuSCHNITZEL
 
Posts: 10
Joined: Tue Jan 17, 2012 11:18 pm

Re: natural sorting

Postby ytechie » Wed Jan 18, 2012 11:16 am

I have/had (I worked around it with the help of BKKK) this issue with Friends. For a while I just renamed "Season 10" to "Season Ten".

For those of you who are wondering why this happens, check this out: viewtopic.php?f=5&t=8664.

I think the reason is with the sorting. I you read the link I provide, you will quickly see what I am talking about.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: natural sorting

Postby tofuSCHNITZEL » Thu Jan 19, 2012 12:29 am

well there is definitely a way to do a natural sort with java/javascript and I would kindly ask that it gets implemented :D
tofuSCHNITZEL
 
Posts: 10
Joined: Tue Jan 17, 2012 11:18 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests