improve sorting - make it stable for chrome
improve column sorting