| Author |  Topic  |           | 
              
                | midazolamStarting Member
 
 
 
                USA5 Posts
 | 
                    
                      |  Posted - 28 Nov 2010 :  16:48:06           
 |  
                      | Any chance the Alphabetical Title sorting algorithm for the grid-view can be improved to match that of most OS's file-handling when it comes to integers? 
 For example, there is no logical reason why "8 Mile" or "3 Godfathers" should be sorted BELOW movies such as "10", "100 Feet", "12 Monkeys", etc; yet, they are.  And this is a bit annoying since it doesn't match the folder structure where the movies are based.
 
 Just my opinion, but it is an annoyance that it always present, unlike some of the bugs presented here.
 
 Thanks for your time.
 |  | 
              
                | lordkiwiNew Member
 
  
 
                USA99 Posts
 | 
                    
                      |  Posted - 29 Nov 2010 :  01:17:09             
 |  
                      | I was just going to make that suggestion. I found a great code snippet to do that sort of Natrual Language sorting on http://dotnetperls.com/alphanumeric-sorting
 It worked realy well and was easy to modify. Not that Alessio needs the help.
 
 |  
                      | "Computer games don't effect kids; I mean if
 Pac-Man affected us as kids, we'd all be running around in darkend
 rooms, munching magic pills and listening to repetitive electronic
 music" (Kristian Wilson, Nintendo, Inc 1989
 |  
                      |  |  | 
              
                | apdJunior Member
 
   
 
                Greece378 Posts
 | 
                    
                      |  Posted - 29 Nov 2010 :  15:29:09           
 |  
                      | Great! I hope it can be used for correct sorting of Duration. |  
                      |  |  | 
              
                | Alessio VitiForum Admin
 
      
 
                Italy9171 Posts
 |  | 
              
                | JDommiAdministrator
 
      
 
                Germany4692 Posts
 | 
                    
                      |  Posted - 29 Nov 2010 :  17:30:16           
 |  
                      | Ale, just set attribute "sorted" to false and implement your own sorting algorithm. I never have seen a list or grid component that sorts numbers "logical"...
 |  
                      | In order to achieve what is possible, you have to try the impossible over and over again.
 Hermann Hesse
 |  
                      |  |  | 
              
                |  |  Topic  |           |