Stubborn sorting - Google Chrome
Stubborn sorting - Google Chrome
So, I am running into a problem that only manifests in Google Chrome - IE, FF, Opera, and Safari do not exhibit this behavior.
When I have a column that is all empty, and I click on that column's head to sort, rows shift like it is still doing some sorting, but the column itself is empty.... so.... why?
When I have a column that is all empty, and I click on that column's head to sort, rows shift like it is still doing some sorting, but the column itself is empty.... so.... why?
This discussion has been closed.
Replies
http://code.google.com/p/v8/issues/detail?id=90
http://code.google.com/p/v8/issues/detail?id=324
https://bugzilla.mozilla.org/show_bug.cgi?id=224128
What a pain... It's not a bug in Chrome (since the ECMA Script spec doesn't require a stable sort), but all the other main browsers do use a stable sort. I guess I'll have to implement a merge-sort or something in DataTables for Chrome, although I have concerns about the performance impact. I guess we'll just have to see what happens when I get a chance to do that.
Regards,
Allan