INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: leoric on May 11, 2010, 04:17:11 pm

Title: Sorting issue
Post by: leoric on May 11, 2010, 04:17:11 pm
I have two directories -  M:\@Soundtracks\Lost\S01\ and M:\@Soundtracks\Lost\S1\. When I'm trying to sort by Filename column, items in these dirs are not sorted separately but as they would be in the same dir. I'm wondering is this a feature or a bug? As for me seems like a bug.
Title: Re: Sorting issue
Post by: Matt on May 11, 2010, 04:18:19 pm
It's a feature.

Numbers are handled intelligently so that 100 sorts after 5 (even though 1 sorts before 5 if you work letter-by-letter).
Title: Re: Sorting issue
Post by: leoric on May 14, 2010, 02:42:12 pm
Hm... Can you describe some use case for this feature? May be it is possible to make it optional?
Title: Re: Sorting issue
Post by: Matt on May 14, 2010, 03:31:02 pm
Sorry, but smart number handling in string comparisons is not optional.

It's common to have strings like:
5. Matt
100. leoric

It would be surprising for them to sort with the big number first.

In your case, you might consider renaming the folders slightly if "S01" and "S1" are really different.