T O P I C R E V I E W |
midazolam |
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. |
4 L A T E S T R E P L I E S (Newest First) |
JDommi |
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"... |
Alessio Viti |
Posted - 29 Nov 2010 : 16:53:02 Thank you Guys, I will take a look.
BTW, the grid I use is a third party component,so I don't know if I can modify it.
Thank you,
Ale |
apd |
Posted - 29 Nov 2010 : 15:29:09 Great! I hope it can be used for correct sorting of Duration. |
lordkiwi |
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.
|