INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sorting issue  (Read 1202 times)

leoric

  • World Citizen
  • ***
  • Posts: 164
Sorting issue
« 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Sorting issue
« Reply #1 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).
Logged
Matt Ashland, JRiver Media Center

leoric

  • World Citizen
  • ***
  • Posts: 164
Re: Sorting issue
« Reply #2 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?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Sorting issue
« Reply #3 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.

Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up