Hacker News new | ask | show | jobs
by neunhoef 3205 days ago
That is right, if you have access to your comparator, then this is much easier. However, it would still not work well for negative numbers, and, in many cases you sit client side and do not have access to your database engine.
1 comments

It's easy to extend the comparator to negative numbers, just check for the minus sign as well.