mleibman/SlickGrid — pull request #285 by ghiscoding (2012-02-13 05:49:14+00:00)
Title: Previous introduction of Multi-Column sort breaks any possible inclusion of custom sorter

Hey Micheal

After seeing the new code for multi-column sorting support, I decided to add it to my code and found that it breaks the possibility of adding any new custom sorter which I need and use, especially the numeric sort.

So after spending some time, I found the solution which makes any custom sorters to work again. I thought you had some custom sorters in your examples but I must have found it somewhere else. Anyways I modified previous example code to include 2 customs sorter (sorterNumeric, sorterStringCompare) and it's working great now, well I mean you might not see the difference in that example but in my data grid 20 was bigger than 1500 since in a String compare 2 is bigger than 1...which is not exactly what I wanted so...

Let me know if it's as you want, or if you want another example file created for that purpose... :)