Replace built-in sort with own. Unfortunately sort gives different result in different browsers.